cetera-labs/plugin-special
Composer 安装命令:
composer require cetera-labs/plugin-special
包简介
Версия для слабовидящих
README 文档
README
Usage
<body>
<!-- place after open body tag -->
{% widget 'Special.Panel' with {} %}
<!-- some html code -->
Widget params
For subdomain use
Config subdomain special.site.name
{% widget 'Special.Panel' with { url_normal: "site.name", css: "path_to_additional_css"} %}
For cookie mode instead additional subdomain
Additional domain is not required;
<body>
<!-- Button, link or another html tag with data attribute for activation required -->
<a data-action="widget-special-toggler" class="some_class">Enable special version</a>
{% widget 'Special.Panel' with { cookie_mode: true, css: "path_to_additional_css"} %}
统计信息
- 总下载量: 238
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-09-01