定制 norman-huth/nova-iframe-popup 二次开发

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

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

norman-huth/nova-iframe-popup

最新稳定版本:1.0.0

Composer 安装命令:

composer require norman-huth/nova-iframe-popup

包简介

A Laravel Nova field.

README 文档

README

With this field you create a button which displays an iframe in a popup (visually oriented to Inertia.js).

1 2 3

Install

composer require norman-huth/nova-iframe-popup

Usage

IframePopup::make(__('Url'), 'url'),

IframePopup::make('', 'url', function () {
    return 'https://huth.it';
})->icon('eye')->sufText('Help'),

Options

Change Icon (Heroicon)

IframePopup::make(__('Url'), 'url')->icon('eye'),

Change Icon (Font Awesome)

Font Awesome is not included and must be added manually!

IframePopup::make(__('Url'), 'url')->faIcon('fa-solid fa-arrow-up-right-from-square'),

Remove Icon

IframePopup::make(__('Url'), 'url')
    ->icon('')
    ->preText(__('Show me')),

Add text before the icon

IframePopup::make(__('Url'), 'url')->preText(__('Click me')),

Add text after the icon

IframePopup::make(__('Url'), 'url')->sufText(__('Help')),

Change button class

IframePopup::make(__('Url'), 'url')->btnClass('btn-primary'),

Add class to DIV container

IframePopup::make(__('Url'), 'url')->containerClass('text-center'),
Add class to DIV container (index view)
IframePopup::make(__('Url'), 'url')->containerClassIndex('text-center'),
Add class to DIV container (detail view)
IframePopup::make(__('Url'), 'url')->containerClassDetail('text-center'),
Add class to DIV container (form view)
IframePopup::make(__('Url'), 'url')->containerClassForm('text-center'),

More Laravel Nova Packages

Stand With Ukraine Woman. Life. Freedom.

统计信息

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

GitHub 信息

  • Stars: 6
  • Watchers: 2
  • Forks: 7
  • 开发语言: Vue

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-04-22