Sha256: fd35d26d5cd80f27d0360f8cd6f8905c84fa171d2831045da5af3a1a9a39659b

Contents?: true

Size: 245 Bytes

Versions: 21

Compression:

Stored size: 245 Bytes

Contents

import { observeSize } from "@helpers/layout";

export default function paramsEditorComponent() {
  return {
    narrow: false,
    init() {
      observeSize(this.$el, ({ width }) => {
        this.narrow = width < 450;
      });
    },
  };
}

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
lookbook-1.0.8 app/components/lookbook/params_editor/component.js
lookbook-1.0.7 app/components/lookbook/params_editor/component.js
lookbook-1.0.6 app/components/lookbook/params_editor/component.js
lookbook-1.0.5 app/components/lookbook/params_editor/component.js
lookbook-1.0.4 app/components/lookbook/params_editor/component.js
lookbook-1.0.3 app/components/lookbook/params_editor/component.js
lookbook-1.0.2 app/components/lookbook/params_editor/component.js
lookbook-1.0.1 app/components/lookbook/params_editor/component.js
lookbook-1.0.0 app/components/lookbook/params_editor/component.js
lookbook-1.0.0.rc.3 app/components/lookbook/params_editor/component.js
lookbook-1.0.0.rc.2 app/components/lookbook/params_editor/component.js
lookbook-1.0.0.rc.1 app/components/lookbook/params_editor/component.js
lookbook-1.0.0.beta.8 app/components/lookbook/params_editor/component.js
lookbook-1.0.0.beta.7 app/components/lookbook/params_editor/component.js
lookbook-1.0.0.beta.6 app/components/lookbook/params_editor/component.js
lookbook-1.0.0.beta.5 app/components/lookbook/params_editor/component.js
lookbook-1.0.0.beta.4 app/components/lookbook/params_editor/component.js
lookbook-1.0.0.beta.3 app/components/lookbook/params_editor/component.js
lookbook-1.0.0.beta.2 app/components/lookbook/params_editor/component.js
lookbook-1.0.0.beta.1 app/components/lookbook/params_editor/component.js