final class IframeAction extends Action

网页预览(Iframe)

Properties

protected bool $disabled 禁用 from  Action
protected bool $plain 朴素模式 from  Action
protected bool $circle 圆形 from  Action
protected string $type 按钮的类型 from  Action
protected string $size 大小 from  Action
protected string $icon icon from  Action
protected bool $only

是否只显示 ICON

from  Action
$link 文字模式 from  Action
protected bool $confirm 是否进行请求前确认 from  Action
protected string $method 请求方法 from  Action
protected string $url 请求的Url from  Action
protected $width

Methods

__construct($title, $url)

创建 Action

from  Action
icon(string $icon)

设置 ICON 图标

from  Action
confirm(string $text = '')

确认

from  Action
__call($method, $args)

No description

from  Action
struct()

Action 渲染

self
primary()

主要按钮

from  Action
self
link()

链接按钮

from  Action
self
default()

默认样式

from  Action
self
success()

成功

from  Action
self
info()

信息

from  Action
self
warning()

警告

from  Action
self
danger()

危险

from  Action
self
disabled()

禁用

from  Action
self
plain()

朴素模式

from  Action
self
circle()

原型模式

from  Action
self
only()

仅仅显示图标

from  Action
void
width(int $width = 400)

预览

Details

in Action at line 106
__construct($title, $url)

创建 Action

Parameters

$title
$url

in Action at line 117
Action icon(string $icon)

设置 ICON 图标

Parameters

string $icon

ICON 图标

Return Value

Action

in Action at line 128
Action confirm(string $text = '')

确认

Parameters

string $text

Return Value

Action

in Action at line 138
__call($method, $args)

No description

Parameters

$method
$args

at line 27
struct()

Action 渲染

in Action at line 21
self primary()

主要按钮

Return Value

self

链接按钮

Return Value

self

in Action at line 21
self default()

默认样式

Return Value

self

in Action at line 21
self success()

成功

Return Value

self

in Action at line 21
self info()

信息

Return Value

self

in Action at line 21
self warning()

警告

Return Value

self

in Action at line 21
self danger()

危险

Return Value

self

in Action at line 21
self disabled()

禁用

Return Value

self

in Action at line 21
self plain()

朴素模式

Return Value

self

in Action at line 21
self circle()

原型模式

Return Value

self

in Action at line 21
self only()

仅仅显示图标

Return Value

self

at line 18
void width(int $width = 400)

预览

Parameters

int $width 宽度

Return Value

void