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:
@ -3,7 +3,7 @@ import command from '../common/command';
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Cut action wrapper.
|
* Cut action wrapper.
|
||||||
* @param {HTMLElement} target
|
* @param {String|HTMLElement} target
|
||||||
* @return {String}
|
* @return {String}
|
||||||
*/
|
*/
|
||||||
const ClipboardActionCut = (target) => {
|
const ClipboardActionCut = (target) => {
|
||||||
|
@ -113,7 +113,7 @@ class Clipboard extends Emitter {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Allow fire programmatically a copy action
|
* Allow fire programmatically a copy action
|
||||||
* @param {Element} target
|
* @param {String|HTMLElement} target
|
||||||
* @param {Object} options
|
* @param {Object} options
|
||||||
* @returns Text copied.
|
* @returns Text copied.
|
||||||
*/
|
*/
|
||||||
@ -123,7 +123,7 @@ class Clipboard extends Emitter {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Allow fire programmatically a cut action
|
* Allow fire programmatically a cut action
|
||||||
* @param {Element} target
|
* @param {String|HTMLElement} target
|
||||||
* @returns Text cutted.
|
* @returns Text cutted.
|
||||||
*/
|
*/
|
||||||
static cut(target) {
|
static cut(target) {
|
||||||
|
Reference in New Issue
Block a user