Methods
(private) addReadOnlyProperty(name, valueopt)
Creates a new read-only property and attaches it to the provided context.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
name |
string | Name for new property. |
|
value |
* |
<optional> |
Value of new property. |