Sha256: 1ec9fe871fd772bba61df7590794207e28363284ead055ec7f993109fa904a05

Contents?: true

Size: 421 Bytes

Versions: 16

Compression:

Stored size: 421 Bytes

Contents

import withDropdown from "@js/base/mixins/dropdown";

export default function withAppDropdown(props = {}) {
  const initDropdown = withDropdown({
    theme: "coco-app-dropdown",
    placement: "bottom-start",
    offset: [0, 0],
    ...props,
  });

  function withAppDropdownMixin(component) {
    return initDropdown(component);
  }

  withAppDropdownMixin.props = initDropdown.props;

  return withAppDropdownMixin;
}

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
coveragebook_components-0.7.1 app/assets/js/app/mixins/dropdown.js
coveragebook_components-0.7.0 app/assets/js/app/mixins/dropdown.js
coveragebook_components-0.6.5 app/assets/js/app/mixins/dropdown.js
coveragebook_components-0.6.4 app/assets/js/app/mixins/dropdown.js
coveragebook_components-0.6.3 app/assets/js/app/mixins/dropdown.js
coveragebook_components-0.6.2 app/assets/js/app/mixins/dropdown.js
coveragebook_components-0.6.1 app/assets/js/app/mixins/dropdown.js
coveragebook_components-0.6.0 app/assets/js/app/mixins/dropdown.js
coveragebook_components-0.5.7 app/assets/js/app/mixins/dropdown.js
coveragebook_components-0.5.6 app/assets/js/app/mixins/dropdown.js
coveragebook_components-0.5.5 app/assets/js/app/mixins/dropdown.js
coveragebook_components-0.5.4 app/assets/js/app/mixins/dropdown.js
coveragebook_components-0.5.3 app/assets/js/app/mixins/dropdown.js
coveragebook_components-0.5.2 app/assets/js/app/mixins/dropdown.js
coveragebook_components-0.5.1 app/assets/js/app/mixins/dropdown.js
coveragebook_components-0.5.0 app/assets/js/app/mixins/dropdown.js