2017 © Pedro Peláez
 

silverstripe-module copytoclipboard

Copy a SilverStripe field's value to the clipboard.

image

flashbackzoo/copytoclipboard

Copy a SilverStripe field's value to the clipboard.

  • Monday, February 29, 2016
  • by flashbackzoo
  • Repository
  • 1 Watchers
  • 0 Stars
  • 19 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 6 % Grown

The README.md

CopyToClipboard

Copy a SilverStripe field's value to the clipboard using https://github.com/zeroclipboard/zeroclipboard, (*1)

Install the module then add the copy-to-clipboard CSS class to your text field., (*2)

  $fields->addFieldToTab("Root.Main",
    TextField::create('Text')->addExtraClass('copy-to-clipboard')
  );

This will add a copy button to your field. Clicking the button with copy the field's value to the clipboard., (*3)

The Versions

29/02 2016

dev-master

9999999-dev

Copy a SilverStripe field's value to the clipboard.

  Sources   Download

The Requires

 

silverstripe

05/05 2015

v1.0.0

1.0.0.0

Copy a SilverStripe field's value to the clipboard.

  Sources   Download

The Requires

 

silverstripe