LaravelPackages.net
Acme Inc.
Toggle sidebar
energon7/custom-action-selector

This package allows you to change the action select box to a button view.

4.862
1
0.1.0
About energon7/custom-action-selector

energon7/custom-action-selector is a Laravel package for this package allows you to change the action select box to a button view.. It currently has 1 GitHub stars and 4.862 downloads on Packagist (latest version 0.1.0). Install it with composer require energon7/custom-action-selector. Discover more Laravel packages by energon7 or browse all Laravel packages to compare alternatives.

Last updated

Nova Custom Action Selector

Latest Version on Packagist Licence Total Downloads

This package allows you to change the action select box to a button view.

Installation

composer require energon7/custom-action-selector

Usage

NovaServiceProvider.php:

use Energon7\CustomActionSelector\CustomActionSelector;

//...

public function tools()
{
    return [
         new CustomActionSelector()
    ];
}

Then create any action:

php artisan nova:action SomeAction

You can add icon to a action button.

SomeAction.php:


  public $icon = '<svg> ... </svg>';
  public function __construct()
  {
      $this->withMeta([
          'icon' => $this->icon
      ]);
  }
  

Credits

License

This project is open-sourced software licensed under the MIT license.

Star History Chart