Skip to content

ArtMin96/filament-popover

Repository files navigation

Filament popover

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Filament Popover cover art

Installation

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',
    ],
];

Usage

<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/

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •