Binds to the prime context data of this node.

Behaviors like With, Each, and Instance introduce a prime data context for their children. JavaScript and the Model tag do not introduce a prime data context.

Use data() when you wish to bind directly to the prime data context. This is for when your data contains a simple value rather than a data structure.

    exports.items = Observable(1,2,3)
<Each Items="{items}">
    <Text Value="{= data() }"/>


Fuse.Reactive.Bindings 1.11.2

Interface of DataFunction

Inherited from Expression

Inherited from object

Attached UX Attributes

GlobalKey (attached by Resource) : string ux

The ux:Global attribute creates a global resource that is accessible everywhere in UX markup.

Implemented Interfaces