Value attributes

Purpose

Attributes which allow the value of a client-side parameter to be specified in a number of different ways. Please note that only a single attribute from the group can be specified on an element, except for the path attribute.

Attributes

Attribute Description Type Default Options Use
component A reference to a component. The client-side value is the object representation of the component. xs:IDREF     optional 
path A JSON path which selects a specific object within the value that has been defined using the component or property-value attributes. For example, it allows event handlers used within a template to access the data relative to the value specified by the template's data attribute. xs:string     optional 
property A reference to an observable property of a component. The client-side value is the property reference. xs:IDREF     optional 
property-value A reference to an observable property of a component, via an xs:IDREF, followed by a '#' and an identifier. The client-side value is the value of the property retrieved immediately prior to it being needed. xs:string     optional 

Related topics