artmin96 / filament-popover
这是我包装的 filament-popover
v1.1
2023-05-16 20:12 UTC
Requires
- php: ^8.0
- filament/filament: ^2.0
- illuminate/contracts: ^9.0|^10.0
- spatie/laravel-package-tools: ^1.13.5
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^6.0
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^7.0
- pestphp/pest: ^1.21
- pestphp/pest-plugin-laravel: ^1.1
- pestphp/pest-plugin-livewire: ^1.0
- pestphp/pest-plugin-parallel: ^0.3
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: ^9.5
- spatie/laravel-ray: ^1.26
This package is auto-updated.
Last update: 2024-09-09 06:43:31 UTC
README
安装
您可以通过 composer 安装此包
composer require artmin96/filament-popover
您可以使用以下命令发布配置文件
php artisan vendor:publish --tag="filament-popover-config"
这是发布配置文件的内容
return [ 'themes' => [ 'light', 'light-border', 'material', 'translucent', ], 'animations' => [ 'shift-away', 'shift-toward', 'scale', 'perspective', ], ];
使用方法
<x-filament-popover::preview :model="$model" :view="'your-view-blade'" :viewData="[]" :allowHTML="true" :arrow="false" :theme="'light'" :interactive="true" :placement="'bottom'" :animation="'shift-away'" > Show tooltip! </x-filament-popover::preview>
您可以通过 viewData
发送额外数据以供查看。
其他属性请在此处查找: https://atomiks.github.io/tippyjs/v6/all-props/
测试
composer test
变更日志
有关最近更改的更多信息,请参阅 CHANGELOG。
贡献
有关详细信息,请参阅 CONTRIBUTING。
安全漏洞
请查看我们关于如何报告安全漏洞的 安全策略。
鸣谢
许可协议
MIT 许可协议 (MIT)。有关更多信息,请参阅 许可文件。