LitElement
Try
Guide
API
Interface InternalPropertyDeclaration<Type>
Hierarchy
InternalPropertyDeclaration
Methods
Optional hasChanged
hasChanged( value: Type , oldValue: Type ) : boolean
Parameters
value: Type
oldValue: Type
Returns boolean
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Type alias with type parameter
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
A function that indicates if a property should be considered changed when it is set. The function should take the
newValue
andoldValue
and returntrue
if an update should be requested.