DocsFQL syntax reference
On this page

Display attributes reference

Look up text, attribute, visibility and list bindings.

Before you begin: Selectors and aggregates reference.

DOM Attributes

AttributePurpose
f="true"Optional explicit activation; functional bindings activate automatically.
f="false"Disables this element's bindings and controls. Children with their own directives remain active.
f-text="expression"Sets textContent.
f-attr-name="expression"Sets/removes the named attribute.
f-show="expression"Shows the element only when the expression resolves truthy. The element is hidden by default while needed data is unavailable.
f-hide="expression"Hides the element when the expression resolves truthy. The element is shown by default while needed data is unavailable.
f-list="$state.selectorName"Repeats the first child using a state selector object.
f-list="$state.settingsList"Repeats a settings selector such as { $list: "$settings.path.to.items" }; authored children remain default/showcase items.
f-key="expression"Declares a stable key on a non-settings list's repeated first child when items do not use id.
f-insert-pagination="$state.selectorName"Inserts generated pagination buttons into the host element for the matching list selector.
f-insert-pagination="#listId"Inserts generated pagination buttons for the list element with that id.
f-replace-pagination="#listId"Replaces the host element with generated pagination buttons for the list element with that id.

Continue with Access and navigation attributes.