承接 naif/toggle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

naif/toggle

最新稳定版本:1.4

Composer 安装命令:

composer require naif/toggle

包简介

A Laravel Nova toggle switch field for Nova 3

README 文档

README

* Toggle Switch Field for Nova 4 go to

https://github.com/naifalshaye/toggle-switch-field

A Laravel Nova toggle switch field

Installation

You can install the package into a Laravel app that uses Nova via composer:

composer require naif/toggle

Usage:

Add the below to Nova/User.php 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'),
    

Support:

naif@naif.io

https://www.linkedin.com/in/naif

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 70.77k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 26
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 26
  • Watchers: 1
  • Forks: 10
  • 开发语言: SCSS

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-09-03