Expand all

ve.ce.PasteSourceDetector

Constructor

new ve.ce.PasteSourceDetector(name, match, categories) #

Paste source detector.

Parameters:

Name Type Description
name string

Detector name

match function

Match function, called with clipboardData

categories Array.<string>

Detector categories

Source:
Paste source detector.

Methods

getData() → {Object} #

Get data about this detector.

name is the symbolic name of the detector.

categories are an array of strings describing the type of source, for example 'wordProcessor', 'ai', 'plain', 'internal'.

Returns:

Detector data

Type
Object
Source:
Get data about this detector.