pimoudeveldhuis/nova-tooltip
最新稳定版本:1.0.3
Composer 安装命令:
composer require pimoudeveldhuis/nova-tooltip
包简介
A Laravel Nova tool to give you ability to put tooltip in fields in every where and in menu item
README 文档
README
This Nova tool lets you:
- Add a tooltip to your field in (Table Header, Field in form, and Field in detail)
- Add a tooltip to your menu item
Requirements
-
php: >=8.0 -
laravel/nova: ^4.0Note: This package dose't work with nova 3
Features
- Support HTML in the tooltip function custom design in the tooltip
- Support localization.
- Support Fields.
- Support Menu Items.
- 1 line of code able you to add a tooltip
Screenshot
Installation
You can install the nova tool in to a Laravel app that uses Nova via composer:
composer require badinansoft/nova-tooltip
Usage
Just need add this method to field tooltip()
Text::make(__('Domain'), 'domain') ->tooltip(__('Domain For Company <br /> <small class="text-primary-500">ex: https://badinanshipping.com</small>'))
Just need add this method to menu item tooltip()
MenuItem::resource(ArrivedToTurkishOfficeOrder::class) ->tooltip(__('Arrived Orders <br> <small>That mean the orders that <br> arrived to <b>turkish office</b></small>')) ->name(__('AO')),
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 84
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-05-13
