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.3.1 app/components/lookbook/copy_button/component.js
lookbook-1.3.0 app/components/lookbook/copy_button/component.js
lookbook-1.2.1 app/components/lookbook/copy_button/component.js
lookbook-1.2.0 app/components/lookbook/copy_button/component.js
lookbook-1.1.1 app/components/lookbook/copy_button/component.js
lookbook-1.1.0 app/components/lookbook/copy_button/component.js
lookbook-1.0.8 app/components/lookbook/copy_button/component.js
lookbook-1.0.7 app/components/lookbook/copy_button/component.js
lookbook-1.0.6 app/components/lookbook/copy_button/component.js
lookbook-1.0.5 app/components/lookbook/copy_button/component.js
lookbook-1.0.4 app/components/lookbook/copy_button/component.js
lookbook-1.0.3 app/components/lookbook/copy_button/component.js
lookbook-1.0.2 app/components/lookbook/copy_button/component.js
lookbook-1.0.1 app/components/lookbook/copy_button/component.js
lookbook-1.0.0 app/components/lookbook/copy_button/component.js
lookbook-1.0.0.rc.3 app/components/lookbook/copy_button/component.js
lookbook-1.0.0.rc.2 app/components/lookbook/copy_button/component.js
lookbook-1.0.0.rc.1 app/components/lookbook/copy_button/component.js
lookbook-1.0.0.beta.8 app/components/lookbook/copy_button/component.js
lookbook-1.0.0.beta.7 app/components/lookbook/copy_button/component.js