mirror of
https://github.com/zenorocha/clipboard.js.git
synced 2023-08-10 21:12:48 +03:00
Improve in-code doc comments
This commit is contained in:
parent
b43d93e69d
commit
d1eac52d40
@ -3,7 +3,7 @@ import command from '../common/command';
|
||||
|
||||
/**
|
||||
* Cut action wrapper.
|
||||
* @param {HTMLElement} target
|
||||
* @param {String|HTMLElement} target
|
||||
* @return {String}
|
||||
*/
|
||||
const ClipboardActionCut = (target) => {
|
||||
|
@ -113,7 +113,7 @@ class Clipboard extends Emitter {
|
||||
|
||||
/**
|
||||
* Allow fire programmatically a copy action
|
||||
* @param {Element} target
|
||||
* @param {String|HTMLElement} target
|
||||
* @param {Object} options
|
||||
* @returns Text copied.
|
||||
*/
|
||||
@ -123,7 +123,7 @@ class Clipboard extends Emitter {
|
||||
|
||||
/**
|
||||
* Allow fire programmatically a cut action
|
||||
* @param {Element} target
|
||||
* @param {String|HTMLElement} target
|
||||
* @returns Text cutted.
|
||||
*/
|
||||
static cut(target) {
|
||||
|
Loading…
Reference in New Issue
Block a user