Download the PHP package axonc/filament-copyable-placeholder without Composer
On this page you can find all versions of the php package axonc/filament-copyable-placeholder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download axonc/filament-copyable-placeholder
More information about axonc/filament-copyable-placeholder
Files in axonc/filament-copyable-placeholder
Package filament-copyable-placeholder
Short Description This is my package filament-copyable-placeholder
License MIT
Homepage https://github.com/axonc/filament-copyable-placeholder
Informations about the package filament-copyable-placeholder
filament-copyable-placeholder
This package provides a form field for the Laravel Filament Admin panel framework which adds a copy button to the Placeholder
Examples
Copy Button
Icon Only
Installation
You can install the package via composer:
Usage
All functionality mirrors the documentation found here for the Placeholder
component. Additional functionality specific
to this package can be found below.
The copy behavior will take the value of the contents passed to the component and write to the clipboard
via JavaScript. NOTE: This must support the window.navigator
API.
Basic Usage
Custom Icon Text
Icon Only Mode
Customize Icon
Icon Text
Icon Color
Overwriting Styles
By default, some sensible Tailwind classes are applied to the content of the placeholder and the button. This results in some alignment being applied when in the button (it will establish a flex container with the button) or in icon-only mode will ensure it exists at the vertical end of the content.
This behavior can be overridden by calling extraAttributes
on the component.
Testing
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
- Callum Axon
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-copyable-placeholder with dependencies
filament/filament Version ^3.0-stable
spatie/laravel-package-tools Version ^1.14.0