jadu/pulsar-metadata
最新稳定版本:1.0.0
Composer 安装命令:
composer require jadu/pulsar-metadata
包简介
Provides a simple way to mark up key/value information provided by a Twig hash or JSON object
README 文档
README
Provides a simple way to mark up key/value information provided by a Twig hash or JSON object.
Documentation
https://jadu.github.io/pulsar/docs/components/metadata
Example usage
{{
html.metadata({
'items': {
'File': 'true_lies.avi',
'Size': '1.2 Gb',
'Type': 'Video'
}
})
}}
Variations
| Class | Behaviour |
|---|---|
.metadata--stacked |
Verically align keys and values |
Options
| Option | Type | Description |
|---|---|---|
| class | string | CSS classes, space separated |
| id | string | A unique identifier, if required |
| items | hash | A hash of data where key: value = title: description |
| data-* | string | Data attributes, eg: 'data-foo': 'bar' |
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-09-28