You can install the package via composer:
composer require artmin96/filament-popover
You can publish the config file with:
php artisan vendor:publish --tag="filament-popover-config"
This is the contents of the published config file:
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>
You can send additional data to view via viewData
.
Find other properties here: https://atomiks.github.io/tippyjs/v6/all-props/
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.