Skip to content

Tags Willow

Q edited this page Aug 16, 2020 · 2 revisions

Willows are the most commonly used tag, along with {{ variables }} and are essentially functions, they accept {+ arguments +} and {@ loops @} or [ flags ]

Example:

{~ ui~hello {+ <div>Willow says {{ hello }}</div> +} ~}

This tag call tries to find the ui ( context ) hello ( task ) method ( ui::hello() ) and wrap the return data in simple html:

Return:

<div>Willow says Hello</div>

Clone this wiki locally