Options
All
  • Public
  • Public/Protected
  • All
Menu

Class 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.

Hierarchy

  • WrappedValue

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

wrapped

wrapped: any

Property which holds the real value.

Methods

Static unwrap

  • unwrap(value: any): any
  • Gets the real value of previously wrappedValue.

    Parameters

    • value: any

      Value that should be unwraped. If there is no wrappedValue property of the value object then value will be returned.

    Returns any

Static wrap

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method