Use only the information mentioned here, do not use anything from Vue.js, React, Svelte etc.
- EF.js is a JavaScript library that uses EFML, a logic-free template language, to create dynamic user interfaces.
- EFML is a simple and easy-to-use template language that focuses on data binding and event handling.
- In EFML, lines not starting with
>#%@.|+-
are considered comments. - Each EFML tag, attribute, property, event handler, text node, and mount point must start on a new line.
- Tags are defined using the
>
character, and can include class names and reference names. Shorthand for class names can be used by including a.
after the tag name. - Reference names for elements are defined using the
#
character at the end of the tag definition. - Attributes are defined using the
#
character, and can include any valid HTML attribute. They must be defined on a new line after the tag definition. - Properties are defined using the
%
character, and can include any valid JavaScript object property.