Class: AbstractElement

AbstractElement

new AbstractElement(typeopt, useopt, argsopt)

todoc
Parameters:
Name Type Attributes Description
type String <optional>
use Object <optional>
args Array <optional>
Source:

Members

args :Array

The constructor arguments of the instance
Type:
  • Array
Default Value:
  • null
Source:

(readonly) elementName :String

The name of the element
Type:
  • String
Default Value:
  • 'Abstract'
Source:

(readonly) elementType :String

The type of the element
Type:
  • String
Default Value:
  • 'AbstractElement'
Source:

type :String

The type of the instance
Type:
  • String
Default Value:
  • null
Source:

use :Object

The default "use"-data of the instance
Type:
  • Object
Default Value:
  • null
Source:

Methods

instantiate() → (nullable) {Element}

Creates a new element
Source:
Returns:
Element