定制 lemonlabs/nova-action-button-selectors 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

lemonlabs/nova-action-button-selectors

最新稳定版本:v1.1.1

Composer 安装命令:

composer require lemonlabs/nova-action-button-selectors

包简介

A Laravel Nova asset.

README 文档

README

Packagist Version Packagist Downloads

This package allows you to add buttons for Nova actions on the detail page instead having them all within the dropdown menu.

This package is forked from lednerb/nova-action-button-selectors

Requirements

  • php: ^8
  • laravel/nova: ^4|^5

How to install

composer require lemonlabs/nova-action-button-selectors 

Detail page example_1

Index page with inline action example_2

Usage

In your Action class define the following trait:

... use LemonLabs\ActionButtonSelector\ShowAsButton; class MyAction extends Action { use InteractsWithQueue, Queueable; use ShowAsButton; ...

If you want to hide the button on some Detail pages, use the following method in the Nova Model's actions array:

... public function actions(NovaRequest $request) { return [ MyCustomAction::make() ->onlyOnDetail() ->withoutConfirmation() ->showAsButton(false), ...

统计信息

  • 总下载量: 2.48k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 1
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固