final class IframeOperation extends Operation

网页预览(Iframe)

Properties

protected bool $disabled 禁用 from  Operation
protected array $attributes 属性 from  Operation
protected array $classes 样式 from  Operation
protected string $plain 朴素模式 from  Operation
protected bool $round 圆角 from  Operation
protected string $type 按钮的类型 from  Operation
protected string $size 大小 from  Operation
protected string $icon icon from  Operation
protected bool $only

是否只显示 ICON

from  Operation
$link 文字模式 from  Operation
protected string $confirm 是否进行请求前确认 from  Operation
protected string $method 请求方法 from  Operation
protected string $url 请求的Url from  Operation
protected string $title 标题/说明 from  Operation
protected string $renderType 渲染类型 from  Operation

Methods

__construct($title, $url)

创建 Action

icon(string $icon)

设置 ICON 图标,默认支持 bootstrap icon, 可以使用 lay: 前缀来引用 layui 图标

plain(string $color)

No description

fluid()

No description

confirm(string $text = '')

确认

tooltip(string $tooltip = '')

No description

__call($method, $args)

No description

string
render()

No description

string
createIconTitle()

创建图标标题

self
bare()

素颜, 不进行样式修饰

self
primary()

主要

self
normal()

默认

self
warm()

暖色

self
danger()

危险

self
disabled()

禁用

self
default()

默认

self
lg()

大型

self
sm()

小型

self
xs()

迷你

self
round()

圆角

self
only()

仅仅显示图标

width(int $width = 550)

预览

height(int $height = 550)

No description

widthNormal()

No description

large() deprecated

大的宽度

widthLarge()

No description

Details

in Operation at line 144
__construct($title, $url)

创建 Action

Parameters

$title
$url

in Operation at line 156
Operation icon(string $icon)

设置 ICON 图标,默认支持 bootstrap icon, 可以使用 lay: 前缀来引用 layui 图标

Parameters

string $icon

ICON 图标

Return Value

Operation

in Operation at line 166
Operation plain(string $color)

No description

Parameters

string $color

Return Value

Operation

in Operation at line 176
Operation fluid()

No description

Return Value

Operation

in Operation at line 187
Operation confirm(string $text = '')

确认

Parameters

string $text

Return Value

Operation

in Operation at line 193
Operation tooltip(string $tooltip = '')

No description

Parameters

string $tooltip

Return Value

Operation

in Operation at line 199
__call($method, $args)

No description

Parameters

$method
$args

at line 67
string render()

No description

Return Value

string

in Operation at line 292
protected string createIconTitle()

创建图标标题

Return Value

string

in Operation at line 28
self bare()

素颜, 不进行样式修饰

Return Value

self

in Operation at line 28
self primary()

主要

Return Value

self

in Operation at line 28
self normal()

默认

Return Value

self

in Operation at line 28
self warm()

暖色

Return Value

self

in Operation at line 28
self danger()

危险

Return Value

self

in Operation at line 28
self disabled()

禁用

Return Value

self

in Operation at line 28
self default()

默认

Return Value

self

in Operation at line 28
self lg()

大型

Return Value

self

in Operation at line 28
self sm()

小型

Return Value

self

in Operation at line 28
self xs()

迷你

Return Value

self

in Operation at line 28
self round()

圆角

Return Value

self

in Operation at line 28
self only()

仅仅显示图标

Return Value

self

at line 30
IframeOperation width(int $width = 550)

预览

Parameters

int $width 宽度

Return Value

IframeOperation

at line 36
IframeOperation height(int $height = 550)

No description

Parameters

int $height

Return Value

IframeOperation

at line 43
IframeOperation widthNormal()

No description

Return Value

IframeOperation

at line 55
IframeOperation large() deprecated

deprecated 4.2

大的宽度

Return Value

IframeOperation

See also

widthLarge()

at line 61
IframeOperation widthLarge()

No description

Return Value

IframeOperation