Expand all

ve.ui.MWWikitextDataTransferHandlerFactory

Extends

Constructor

new ve.ui.MWWikitextDataTransferHandlerFactory() #

Drop handler Factory.

Methods

create(name, […args]) → {Object} #

Create an object based on a name.

Name is used to look up the constructor to use, while all additional arguments are passed to the constructor directly, so leaving one out will pass an undefined to the constructor.

See https://doc.wikimedia.org/oojs/master/OO.Factory.html

Parameters:

Name Type Attributes Description
name string

Object name

args any optional
repeatable

Arguments to pass to the constructor

Source:

Returns:

The new object

Type
Object

Throws:

Unknown object name

Type
Error
Create an object based on a name.