CopyToClipboardButton
extends AbstractHelper
in package
Class CopyClipboardButton
Tags
Table of Contents
- __invoke() : string
- This helper creates button for copying content of an element into clipboard
Methods
__invoke()
This helper creates button for copying content of an element into clipboard
public
__invoke(string $elementSelector) : string
Parameters
- $elementSelector : string
-
jQuery selector for element to copy
Return values
string —HTML string