Sha256: 7cf768bd4270fb7df53e4c57bd63727595a1a4d505bd5974e87c1a85218831ef

Contents?: true

Size: 344 Bytes

Versions: 22

Compression:

Stored size: 344 Bytes

Contents

import { initClipboard } from "~/assets/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

22 entries across 22 versions & 1 rubygems

Version Path
lookbook-2.3.4 app/components/lookbook/copy_button/component.js
lookbook-2.3.3 app/components/lookbook/copy_button/component.js
lookbook-2.3.2 app/components/lookbook/copy_button/component.js
lookbook-2.3.0 app/components/lookbook/copy_button/component.js
lookbook-2.2.2 app/components/lookbook/copy_button/component.js
lookbook-2.2.1 app/components/lookbook/copy_button/component.js
lookbook-2.2.0 app/components/lookbook/copy_button/component.js
lookbook-2.1.1 app/components/lookbook/copy_button/component.js
lookbook-2.1.0 app/components/lookbook/copy_button/component.js
lookbook-2.0.5 app/components/lookbook/copy_button/component.js
lookbook-2.0.4 app/components/lookbook/copy_button/component.js
lookbook-2.0.3 app/components/lookbook/copy_button/component.js
lookbook-2.0.2 app/components/lookbook/copy_button/component.js
lookbook-2.0.1 app/components/lookbook/copy_button/component.js
lookbook-2.0.0 app/components/lookbook/copy_button/component.js
lookbook-2.0.0.rc.3 app/components/lookbook/copy_button/component.js
lookbook-2.0.0.rc.2 app/components/lookbook/copy_button/component.js
lookbook-2.0.0.rc.1 app/components/lookbook/copy_button/component.js
lookbook-2.0.0.beta.9 app/components/lookbook/copy_button/component.js
lookbook-2.0.0.beta.8 app/components/lookbook/copy_button/component.js