<< Click to Display Table of Contents >>

 

Extend(props)

 

 

Description

According to this class, create a new class. The new class will include the attributes of extend.

 

 

Parameters

 

Name

Type

Description

props

Object

Class attribute, whose attributes will be created as new classes except initialize, events and statics.

Name

Type

Description

statics

object

(optional) statics class

initialize

function

(optional) constructive class

events

Array<String>

(optional) Name array, which is used to trigger events. Specifying this parameter, the specified trigger method will be added into the class to activate the event.

 

 


©2015 Supergeo Technologies Inc.