symbiote/silverstripe-components
最新稳定版本:4.0.0
Composer 安装命令:
composer require symbiote/silverstripe-components
包简介
Create components using SilverStripe.
关键字:
README 文档
README
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 Install
composer require symbiote/silverstripe-components
Requirements
- SilverStripe ^5
Documentation
Credits
- Cam Spiers for his SilverStripe Compose Parser module. This utilizes and builds upon his work from half a decade ago!
统计信息
- 总下载量: 6.75k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2018-09-10