brand3000/nova-toggle-switch
Composer 安装命令:
composer require brand3000/nova-toggle-switch
包简介
A Laravel Nova field.
README 文档
README
A Laravel Nova toggle switch field. Adapted for Nova 4.
Installation
You can install the package into a Laravel app that uses Nova via composer:
composer require brand3000/nova-toggle-switch dev-master
Usage:
Add the below to a nova resource:
# You can set the toggle switch color by color code. Toggle::make('Toggle')->color('#7e3d2f'), # Also you can set the toggle switch true and false colors that displayed in index and detail views by color code. Toggle::make('Toggle')->color('#7e3d2f')->onColor('#7a38eb')->offColor('#ae0f04'),
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 82
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-09-09