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.0.beta.0 app/components/lookbook/params_editor/component.js