Wire definitions
Listed below are basic concepts utilized by wires.
Action tags
Action tags action the wire. Refer to Wire action tags.
Attributes
Attributes are values that are applied to tags. When entering a tag in the code, hitting the space bar after the tag brings up a list of available attributes with those that are required shown in bold. Refer to Wire attributes for more information.
Evaluations
[eval:] or [js:] is used to evaluate expressions using an internal JavaScript engine. You can create evaluations ranging from simple addition and subtraction to executing complex functions through JavaScript. Refer to Wire evaluations for more information.
Extends
In addition to its own attributes and properties, the tag can also use the attributes and properties of the tag that it extends, and any tags which that tag extends. For example: <list> extends <pager>. Since <pager> extends <panel>, then <list> also extends <panel>.
Global tags
Global tags are foundation and block level tags. Refer to Wire global tags for more information.
Import
Using imported wires inside of your project allows a user to organize several .wire files which can function as a single cohesive wire. Refer to Wire import for more information.
Object alias
Alias is a global attribute you can place on any object within the wire. Refer to Object alias for more information.
Object paths
The pathing of actions and responses within a wire is a fundamental concept that will allow the creation of not only basic 1:1 actions taking place on a specific object, but will allow for the creation of generic and reusable actions which create compact and cleaner wire code. Refer to Object paths for more information.
Object states
Object States allow a method to programmatically detect an active status on a touched or targeted object within the wire. Refer to Object states for more information.
Object tags
Object tags contain the objects of the wire. Refer to Wire object tags for more information.
Object variables
Object variables can be created on the fly and attached to any object simply by adding an underscore to the beginning of any object tag parameter. Refer to Object variables for more information.
Parameters
A [param:] token can be used within an any class or datasource to specify a placeholder for a value that will be defined at some point during the wire's execution. Refer to Wire parameters for more information.
Properties
Object properties are attributes with the ability to be updated or read from within a wire. Datasource and template object properties can also be assigned. Known object properties can be queried via an [object:] token or assigned via an <assign> action tag. Several object tags have a distinct set of properties that can be accessed, many of which will affect the on screen representation of the object. Refer to Wire properties for more information.
Requirements
Any special requirements for using the tag. For example: A requirement for <panel> is that it must live within the <main> block level tag.
User preferences
Variables are a great way to call a selection, operation or current state within a wire. Variables can be reused and are global to the wire, but are not stored in the system as a preference. Refer to User preferences for more information.
Variables
Variables are a great way to call a selection, operation or current state within a wire. Variables can be reused and are global to the wire, but are not stored in the system as a preference. Refer to Wire variables for more information.
Loading...
There was a problem loading this topic