Sha256: d9d3d5f1ef5e23d29f1d331ff934fe8580c4f7451720625539b57c2d133a99b7

Contents?: true

Size: 453 Bytes

Versions: 9

Compression:

Stored size: 453 Bytes

Contents

Coprl::Presenters.define(:clipboard, namespace: :plugins) do
  helpers Demo::Helpers::IndentedGrid
  attach :top_nav
  attach :plugin_drawer
  plugin :clipboard
  page_title 'Clipboard'

  indented_grid do
    headline 'Copy'
    text_field id: :copy_me do
      value "Don't copy that floppy!"
    end
    button :copy, type: :raised do
      event :click do
        clipboard copy: :copy_me
      end
    end
  end

  attach :code, file: __FILE__
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
coprl-3.0.0.beta.12 app/demo/plugins/clipboard.pom
coprl-3.0.0.beta.11 app/demo/plugins/clipboard.pom
coprl-3.0.0.beta.10 app/demo/plugins/clipboard.pom
coprl-3.0.0.beta.9 app/demo/plugins/clipboard.pom
coprl-3.0.0.beta.8 app/demo/plugins/clipboard.pom
coprl-3.0.0.beta.7 app/demo/plugins/clipboard.pom
coprl-3.0.0.beta.6 app/demo/plugins/clipboard.pom
coprl-3.0.0.beta.5 app/demo/plugins/clipboard.pom
coprl-3.0.0.beta.4 app/demo/plugins/clipboard.pom