Wires
Wires are reactive UI elements you create. They include a powerful feature-set provided by CBWIRE.
Last updated
Was this helpful?
Wires are reactive UI elements you create. They include a powerful feature-set provided by CBWIRE.
Last updated
Was this helpful?
Wires primarily consist of the following:
Reactive properties that we can easily change.
Properties that are computed every time our template is rendered.
Methods that make state changes to our data properties.
Listen for emitted events within Wires or client-side JavaScript.
HTML to render our Wire.
From our CommandBox shell, type:
Let's create a Counter Wire that we will use to list our favorite movies.
You can provide named arguments as well.
You can scaffold Wires quickly using the module.