owl/comment
Composer 安装命令:
composer require owl/comment
包简介
A simple placeholder widget for OctoberCMS.
README 文档
README
A simple placeholder widget for OctoberCMS.
Installation
To install the Comment widget, add the following to your plugin's composer.json file.
"require": { "owl/comment": "~1.0@dev" }
Next, register the widget in your plugin's Plugin.php file.
public function registerFormWidgets() { return [ 'Owl\FormWidgets\Comment\Widget' => [ 'label' => 'Comment', 'code' => 'owl-comment' ], ]; }
Usage
The comment widget serves no form function, it exists solely to place extra text in your form.
comment: type: owl-comment label: Hello world comment: > Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla porttitor imperdiet elit, sed pellentesque eros. Morbi blandit elit a turpis pellentesque tincidunt.
统计信息
- 总下载量: 360
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-02-02