This module allows you to use special <:TemplateName> syntax to include templates. This allows you to pass inner HTML into a template, much like you can do in React with the children properties. Using the <:TemplateName> syntax will not automatically pass variables in the current scope like <% include %>.
<:MyButtonTemplate
icon="fa fa-icon"
title="$Title"
>
<span class="text">
Look at me! Passing HTML in here!
</span>
</:MyButtonTemplate>
<:SelfClosingTag passvariable="hey" />
composer require symbiote/silverstripe-components:~1.0
composer require symbiote/silverstripe-components:~3.0
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem