Changes for version 0.11 - 2016-10-04

  • implemented special selector '.' to select the current DOM root
  • implemented methods 'hook($step, $callback) and run_hooks($step)'
    • implemented hook 'after_load_template'
    • implemented hook 'before_process_template'
    • implemented hook 'after_process_template'
    • implemented hook 'before_render_directives'
    • implemented hook 'after_render_directives'
  • implemented 'data-remove-if' and 'data-remove-unless'
    • conditionally remove HTML elements based on context data
    • runs via 'after_load_template' hook

Modules

HTML Template Engine + Custom HTML Elements
Template data and instructions to be rendered.
Include other template files.
Set context metadata.
Render data referenced in templates.
Run dynamic loaded code snippets.
Wrap with other template file.