Note: You are on the beta version of our docs. This is a work in progress and may contain broken links and pages.
Classes
WrappedValue
WrappedValue
Helper class that is used to fire property change even when real object is the same.
By default property change will not be fired for a same object.
By wrapping object into a WrappedValue instance
`same object restriction`
will be passed.Summary
Constructors
constructor
new WrappedValue(wrapped: any): WrappedValue
Creates an instance of WrappedValue object.
Parameter | Default | Description |
wrapped |
| any the real value which should be wrapped. |
Returns WrappedValue
Properties
wrapped
Property which holds the real value.
Methods
unwrap
Static
Gets the real value of previously wrappedValue.
Parameter | Default | Description |
value |
| any Value that should be unwraped. If there is no wrappedValue property of the value object then value will be returned. |
Returns any
wrap
Static
Returns an instance of WrappedValue. The actual instance is get from a WrappedValues pool.
Parameter | Default | Description |
value |
| any Value that should be wrapped. |
Returns any
- Previous
- WrapLayout
- Next
- XmlParser