Sha256: 6ba0872e6c1b24732a111e61aadc1ea20c8b0aea2af265b93d800c76e898125b

Contents?: true

Size: 357 Bytes

Versions: 47

Compression:

Stored size: 357 Bytes

Contents

import { initClipboard } from "~/app/assets/lookbook/js/components/clipboard";
import buttonComponent from "@components/button/component";

export default function copyButtonComponent() {
  const button = buttonComponent();
  return {
    ...button,

    copied: false,

    init() {
      button.init.bind(this)();
      initClipboard(this);
    },
  };
}

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
lookbook-1.5.5 app/components/lookbook/copy_button/component.js
lookbook-1.5.4 app/components/lookbook/copy_button/component.js
lookbook-2.0.0.beta.5 app/components/lookbook/copy_button/component.js
lookbook-2.0.0.beta.4 app/components/lookbook/copy_button/component.js
lookbook-2.0.0.beta.3 app/components/lookbook/copy_button/component.js
lookbook-2.0.0.beta.2 app/components/lookbook/copy_button/component.js
lookbook-1.5.3 app/components/lookbook/copy_button/component.js
lookbook-2.0.0.beta.1 app/components/lookbook/copy_button/component.js
lookbook-1.5.2 app/components/lookbook/copy_button/component.js
lookbook-2.0.0.beta.0 app/components/lookbook/copy_button/component.js
lookbook-1.5.1 app/components/lookbook/copy_button/component.js
lookbook-1.5.0 app/components/lookbook/copy_button/component.js
lookbook-1.4.5 app/components/lookbook/copy_button/component.js
lookbook-1.4.4 app/components/lookbook/copy_button/component.js
lookbook-1.4.3 app/components/lookbook/copy_button/component.js
lookbook-1.4.2 app/components/lookbook/copy_button/component.js
lookbook-1.4.1 app/components/lookbook/copy_button/component.js
lookbook-1.4.0 app/components/lookbook/copy_button/component.js
lookbook-1.3.4 app/components/lookbook/copy_button/component.js
lookbook-1.3.3 app/components/lookbook/copy_button/component.js