springroll.pbskids.EventSignature Class
Define the signature of the api
Constructor
springroll.pbskids.EventSignature
private
Parameters:
-
api
String
-
[args]
Array
optional
The list of arguments to be called
-
[info]
String
optional
The info description of the API
_argsDocs
String
private
Create the markup for the arguments
Parameters:
-
args
Array
-
ignoreNames
Array
Ignore any name matching these collection of string
docs
()
Generate documentation, development build only!
hasProperty
(
-
property
-
[isEventArg=false]
)
Boolean
See if the event args or the api args has an property by name
Parameters:
-
property
String
-
[isEventArg=false]
Boolean
optional
If we're checking on the event args, default
checks on the API arguments.
toString
()
String
Get the string representation of the signature
Returns:
String:
The string version of the signature
args
Array
The arguments to be called by the API
eventArgs
Array
The arguments required by the spec