Members
-
publicMember :string
I'm a member of the class.
-
Details
-
<protected> protectedMember :string
I'm a protected member of the class.
-
Details
-
<private> _privateMember :string
I'm a private member of the class.
-
Details
Methods
-
testMethod( value, obj [, ...objN ] ) → {Object}
This is a test instance method of the MyApi test class, test
markdown
. -
Description
This method is not overridden in the MyApi.Child class but is simply inherited.
Parameters
Name Type Attributes Description value
* Any value, test
markdown
obj
Object The first object of what could be many, test
markdown
objN
Object <optional>
<repeatable>Any additional objects, test
markdown
Returns
Fires
Throws
Details
-
anotherMethod( value, obj [, ...objN ] ) → {Object}
This is a another test instance method of the MyApi test class, test
markdown
. -
Description
This method is overridden in the MyApi.Child class and should remove the exception documentation as it no longer applies.
Parameters
Name Type Attributes Description value
* Any value, test
markdown
obj
Object The first object of what could be many, test
markdown
objN
Object <optional>
<repeatable>Any additional objects, test
markdown
Returns
Fires
Throws
Details
Type Definitions
-
Object
This is a test type definition on the MyApi.Class class.
-
Properties
Name Type Attributes Default Description name
string The name of the test object.
enabled
boolean <optional> false Whether or not the test object is enabled. Defaults to
false
.sub
Object An object containing a subset of properties.
Name Type Attributes Default Description id
number The subset id.
name
boolean <optional> "Sub Options" The name of the sub object. Defaults to
"Sub Options"
.Details
Events
-
"test.my-api"
This is an event raised by this class, it's documentation appears on this page as the event is specified as an inner member the class by using the tilde (~) scope.
-
Parameters
Name Type Description e
Event The event object.
custom
* Some custom parameter passed to any listeners.
Details
-
"another.my-api"
This is an event raised by this class, it's documentation appears on this page as the event is specified as an inner member the class by using the tilde (~) scope.
-
Parameters
Name Type Description e
Event The event object.
custom
* Some custom parameter passed to any listeners.
Details