jellygnite/silverstripe-admin-toggle-checkbox
Composer 安装命令:
composer require jellygnite/silverstripe-admin-toggle-checkbox
包简介
CSS only toggle that re-styles checkboxes in the admin
README 文档
README
Introduction
Converts a checkbox to a toggle slider.
Installation
composer require jellygnite/silverstripe-admin-toggle-checkbox
Usage
Simply add the class 'toggle' to your CheckboxField. e.g.
CheckboxField::create('IsFeatured', 'Is Featured?')->addExtraClass('toggle'),
Based on https://github.com/i-lateral/silverstripe-admin-toggle-checkbox
统计信息
- 总下载量: 17
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2020-12-11