Skip to content

v0.9.0

Latest

Choose a tag to compare

@etcimon etcimon released this 13 Mar 16:07
· 15 commits to master since this release
  • @prop, @attr and @callback all introduce a new template parameter to unbind them from identifiers. As such, you can use @prop!"innerText" string m_txt on a link to set the anchor text
  • @style can now accept a space-seperated list of class names.
  • @slot may now specify a templated list of types which will be sent to the method that @connects to it. e.g. @slot!("click1", string) can be connected to with a @connect!"click1" void cbName(string str) where the string is passed through this.emit(click1, originalStr)
  • It is now possible to @connect multiple callback methods to the same @slot
  • Custom nodes can now inherit from similar ones by using mixin NodeDef!("custom-title-eg", "title"), which will create a node with the custom tag name from the first template parameter but allow it to inherit from the behavior of a <title> element.
  • UnorderedList!Item* can now also allow connecting to slots with multiple variables emitted.