shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
copyElement
Type:Function
Status:stable
Since:1.0.0
Platform:js
@blackbyte.sugar.js.clipboard
This function allows you to copy to the clipboard the passed dom node element with his style
Params
- $elm*-HTMLElement
The dom node element to copy to the clipboard
Example
import { copyElement } from '@blackbyte/sugar/clipboard';
copyElement($elm);Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space