你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ControlBarButtonProps interface
ControlBarButton的道具。
- 扩展
-
IButtonProps
属性
label |
用于标签组件的键 |
on |
未选中按钮时要呈现的图标。 |
on |
选中按钮时要呈现的图标。 |
show |
是否显示标签。 |
strings | 在组件中重写的可选字符串。 |
styles | Fluent 样式,包括所有 ControlBarButton通用的扩展。 |
tooltip |
要用于工具提示主机的 ID。 |
继承属性
属性详细信息
labelKey
用于标签组件的键
labelKey?: string
属性值
string
onRenderOffIcon
未选中按钮时要呈现的图标。
onRenderOffIcon?: IRenderFunction<IButtonProps>
属性值
IRenderFunction<IButtonProps>
onRenderOnIcon
选中按钮时要呈现的图标。
onRenderOnIcon?: IRenderFunction<IButtonProps>
属性值
IRenderFunction<IButtonProps>
showLabel
是否显示标签。
showLabel?: boolean
属性值
boolean
strings
styles
tooltipId
要用于工具提示主机的 ID。
tooltipId?: string
属性值
string
继承属性详细信息
about
about?: string
属性值
string
继承自 IButtonProps.about
accept
accept?: string
属性值
string
继承自 IButtonProps.accept
acceptCharset
acceptCharset?: string
属性值
string
继承自 IButtonProps.acceptCharset
accessKey
accessKey?: string
属性值
string
继承自 IButtonProps.accessKey
action
action?: string
属性值
string
继承自 IButtonProps.action
allowDisabledFocus
按钮是否可以处于禁用模式的焦点
allowDisabledFocus?: boolean
属性值
boolean
继承自 IButtonProps.allowDisabledFocus
allowFullScreen
allowFullScreen?: boolean
属性值
boolean
继承自 IButtonProps.allowFullScreen
allowTransparency
allowTransparency?: boolean
属性值
boolean
继承自 IButtonProps.allowTransparency
alt
alt?: string
属性值
string
继承自 IButtonProps.alt
aria-activedescendant
当 DOM 焦点位于复合小组件、文本框、组或应用程序上时,标识当前处于活动状态的元素。
aria-activedescendant?: string
属性值
string
继承自 IButtonProps.aria-activedescendant
aria-atomic
指示辅助技术是基于 aria 相关属性定义的更改通知显示更改区域的所有或仅显示部分。
aria-atomic?: Booleanish
属性值
Booleanish
继承自 IButtonProps.aria-atomic
aria-autocomplete
指示输入文本是否可以触发输入的一个或多个用户预期值的预测的显示,并指定预测在进行时如何呈现。
aria-autocomplete?: "none" | "list" | "inline" | "both"
属性值
"none" | "list" | "inline" | "both"
继承自 IButtonProps.aria-autocomplete
aria-busy
指示正在修改元素,辅助技术可能需要等待修改完成,然后再向用户公开这些修改。
aria-busy?: Booleanish
属性值
Booleanish
继承自 IButtonProps.aria-busy
aria-checked
指示复选框、单选按钮和其他小组件的当前“已选中”状态。
请参阅 aria-pressed See aria-selected。
aria-checked?: boolean | "true" | "false" | "mixed"
属性值
boolean | "true" | "false" | "mixed"
继承自 IButtonProps.aria-checked
aria-colcount
定义表、网格或树网格中的列总数。
请参阅 aria-colindex。
aria-colcount?: number
属性值
number
继承自 IButtonProps.aria-colcount
aria-colindex
定义元素的列索引或位置,相对于表、网格或树网格中的列总数。
请参阅 aria-colcount See aria-colspan.
aria-colindex?: number
属性值
number
继承自 IButtonProps.aria-colindex
aria-colspan
定义表、网格或树网格单元跨越的列数。
请参阅 aria-colindex 请参阅 aria-rowspan。
aria-colspan?: number
属性值
number
继承自 IButtonProps.aria-colspan
aria-controls
标识其内容或状态由当前元素控制的元素(或元素)。
请参阅 aria 自有。
aria-controls?: string
属性值
string
继承自 IButtonProps.aria-controls
aria-current
指示表示容器或相关元素集中的当前项的元素。
aria-current?: boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time"
属性值
boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time"
继承自 IButtonProps.aria-current
aria-describedby
标识描述对象的元素(或元素)。
请参阅 aria-labelledby
aria-describedby?: string
属性值
string
继承自 IButtonProps.aria-describedby
aria-details
标识提供对象的详细扩展说明的元素。
请参阅 aria-describedby。
aria-details?: string
属性值
string
继承自 IButtonProps.aria-details
aria-disabled
指示该元素可感知但已禁用,因此它不可编辑或不可操作。
请参阅 aria 隐藏请参阅 aria-readonly。
aria-disabled?: Booleanish
属性值
Booleanish
继承自 IButtonProps.aria-disabled
aria-dropeffect
警告
现已弃用此 API。
in ARIA 1.1
指示在放置目标上释放拖动对象时可以执行哪些函数。
aria-dropeffect?: "none" | "link" | "copy" | "execute" | "move" | "popup"
属性值
"none" | "link" | "copy" | "execute" | "move" | "popup"
继承自 IButtonProps.aria-dropeffect
aria-errormessage
标识为对象提供错误消息的元素。
请参阅 aria-invalid See aria-describedby.
aria-errormessage?: string
属性值
string
继承自 IButtonProps.aria-errormessage
aria-expanded
指示元素或它控制的另一个分组元素当前是展开还是折叠。
aria-expanded?: Booleanish
属性值
Booleanish
继承自 IButtonProps.aria-expanded
aria-flowto
标识内容的备用阅读顺序中的下一个元素(或元素),该元素(由用户自行决定)允许辅助技术替代文档源顺序中读取的一般默认值。
aria-flowto?: string
属性值
string
继承自 IButtonProps.aria-flowto
aria-grabbed
警告
现已弃用此 API。
in ARIA 1.1
指示在拖放操作中元素的“抓取”状态。
aria-grabbed?: Booleanish
属性值
Booleanish
继承自 IButtonProps.aria-grabbed
aria-haspopup
指示可由元素触发的交互式弹出元素(如菜单或对话框)的可用性和类型。
aria-haspopup?: boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree"
属性值
boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree"
继承自 IButtonProps.aria-haspopup
aria-hidden
指示该元素是否向辅助功能 API 公开。
请参阅 aria-disabled。
aria-hidden?: Booleanish
属性值
Booleanish
继承自 IButtonProps.aria-hidden
aria-invalid
指示输入的值不符合应用程序预期的格式。
请参阅 aria-errormessage。
aria-invalid?: boolean | "true" | "false" | "grammar" | "spelling"
属性值
boolean | "true" | "false" | "grammar" | "spelling"
继承自 IButtonProps.aria-invalid
aria-keyshortcuts
指示作者已实现以激活或向元素提供焦点的键盘快捷方式。
aria-keyshortcuts?: string
属性值
string
继承自 IButtonProps.aria-keyshortcuts
aria-label
定义标记当前元素的字符串值。
请参阅 aria-labelledby。
aria-label?: string
属性值
string
继承自 IButtonProps.aria-label
aria-labelledby
标识标记当前元素的元素(或元素)。
请参阅 aria-describedby。
aria-labelledby?: string
属性值
string
继承自 IButtonProps.aria-labelledby
aria-level
定义结构中元素的分层级别。
aria-level?: number
属性值
number
继承自 IButtonProps.aria-level
aria-live
指示元素将更新,并描述用户代理、辅助技术和用户可以从实时区域期待的更新类型。
aria-live?: "off" | "assertive" | "polite"
属性值
"off" | "assertive" | "polite"
继承自 IButtonProps.aria-live
aria-modal
指示元素在显示时是否为模式。
aria-modal?: Booleanish
属性值
Booleanish
继承自 IButtonProps.aria-modal
aria-multiline
指示文本框是接受多行输入还是只接受一行输入。
aria-multiline?: Booleanish
属性值
Booleanish
继承自 IButtonProps.aria-multiline
aria-multiselectable
指示用户可以从当前可选择的后代中选择多个项。
aria-multiselectable?: Booleanish
属性值
Booleanish
继承自 IButtonProps.aria-multiselectable
aria-orientation
指示元素的方向是水平、垂直还是未知/不明确。
aria-orientation?: "horizontal" | "vertical"
属性值
"horizontal" | "vertical"
继承自 IButtonProps.aria-orientation
aria-owns
标识元素(或元素),以便定义 DOM 层次结构不能用于表示关系的 DOM 元素之间的视觉、功能或上下文父/子关系。
请参阅 aria-controls。
aria-owns?: string
属性值
string
继承自 IButtonProps.aria-owns
aria-placeholder
定义一个短提示(一个单词或短短语),用于帮助用户在控件没有值时输入数据。 提示可以是示例值或预期格式的简要说明。
aria-placeholder?: string
属性值
string
继承自 IButtonProps.aria-placeholder
aria-posinset
定义元素在当前 listitems 或 treeitems 集中的数字或位置。 如果集中的所有元素都存在于 DOM 中,则不是必需的。
请参阅 aria-setsize。
aria-posinset?: number
属性值
number
继承自 IButtonProps.aria-posinset
aria-pressed
指示切换按钮的当前“按下”状态。
请参阅 aria-checked See aria-selected.
aria-pressed?: boolean | "true" | "false" | "mixed"
属性值
boolean | "true" | "false" | "mixed"
继承自 IButtonProps.aria-pressed
aria-readonly
指示该元素不可编辑,但不可操作。
请参阅 aria-disabled。
aria-readonly?: Booleanish
属性值
Booleanish
继承自 IButtonProps.aria-readonly
aria-relevant
指示修改实时区域中的辅助功能树时,用户代理将触发哪些通知。
请参阅 aria-atomic。
aria-relevant?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals"
属性值
"text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals"
继承自 IButtonProps.aria 相关
aria-required
指示在提交表单之前,元素上需要用户输入。
aria-required?: Booleanish
属性值
Booleanish
继承自 IButtonProps.aria-required
aria-roledescription
为元素的角色定义人工可读的、作者本地化的说明。
aria-roledescription?: string
属性值
string
继承自 IButtonProps.aria-roledescription
aria-rowcount
定义表、网格或树网格中的行总数。
请参阅 aria-rowindex。
aria-rowcount?: number
属性值
number
继承自 IButtonProps.aria-rowcount
aria-rowindex
定义元素的行索引或位置,相对于表、网格或树网格中的行总数。
请参阅 aria-rowcount See aria-rowspan.
aria-rowindex?: number
属性值
number
继承自 IButtonProps.aria-rowindex
aria-rowspan
定义表、网格或树网格单元跨越的行数。
请参阅 aria-rowindex 请参阅 aria-colspan。
aria-rowspan?: number
属性值
number
继承自 IButtonProps.aria-rowspan
aria-selected
指示各种小组件的当前“选定”状态。
请参阅 aria-checked See aria-pressed.
aria-selected?: Booleanish
属性值
Booleanish
继承自 IButtonProps.aria-selected
aria-setsize
定义当前 listitems 或 treeitems 集中的项数。 如果集中的所有元素都存在于 DOM 中,则不是必需的。
请参阅 aria-posinset。
aria-setsize?: number
属性值
number
继承自 IButtonProps.aria-setsize
aria-sort
指示表或网格中的项是否按升序或降序排序。
aria-sort?: "none" | "ascending" | "descending" | "other"
属性值
"none" | "ascending" | "descending" | "other"
继承自 IButtonProps.aria-sort
aria-valuemax
定义范围小组件允许的最大值。
aria-valuemax?: number
属性值
number
继承自 IButtonProps.aria-valuemax
aria-valuemin
定义范围小组件允许的最小值。
aria-valuemin?: number
属性值
number
继承自 IButtonProps.aria-valuemin
aria-valuenow
定义范围小组件的当前值。
请参阅 aria-valuetext。
aria-valuenow?: number
属性值
number
继承自 IButtonProps.aria-valuenow
aria-valuetext
为范围小组件定义 aria-valuenow 的人类可读文本替代项。
aria-valuetext?: string
属性值
string
继承自 IButtonProps.aria-valuetext
ariaDescription
屏幕阅读器权益的按钮的详细说明。
除了复合按钮,其他按钮类型还需要向屏幕阅读器提供更多信息。
ariaDescription?: string
属性值
string
继承自 IButtonProps.ariaDescription
ariaHidden
如果为 true,请添加 aria-hidden
属性,指示屏幕阅读器忽略该元素。
ariaHidden?: boolean
属性值
boolean
继承自 IButtonProps.ariaHidden
ariaLabel
按钮的 aria 标签,适合屏幕阅读器。
ariaLabel?: string
属性值
string
继承自 IButtonProps.ariaLabel
as
as?: string
属性值
string
继承自 IButtonProps.as 的
async
async?: boolean
属性值
boolean
继承自 IButtonProps.async
autoCapitalize
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | (string & {})
属性值
"off" | "none" | "on" | "sentences" | "words" | "characters" | (string & {})
继承自 IButtonProps.autoCapitalize
autoComplete
autoComplete?: string
属性值
string
继承自 IButtonProps.autoComplete
autoCorrect
autoCorrect?: string
属性值
string
继承自 IButtonProps.autoCorrect
autoFocus
autoFocus?: boolean
属性值
boolean
继承自 IButtonProps.autoFocus
autoPlay
autoPlay?: boolean
属性值
boolean
继承自 IButtonProps.autoPlay
autoSave
autoSave?: string
属性值
string
继承自 IButtonProps.autoSave
buttonType
警告
现已弃用此 API。
Deprecated at v1.2.3, to be removed at >= v2.0.0. Use specific button component instead.
buttonType?: ButtonType
属性值
ButtonType
继承自 IButtonProps.buttonType
capture
capture?: boolean | "user" | "environment"
属性值
boolean | "user" | "environment"
继承自 IButtonProps.capture
cellPadding
cellPadding?: string | number
属性值
string | number
继承自 IButtonProps.cellPadding
cellSpacing
cellSpacing?: string | number
属性值
string | number
继承自 IButtonProps.cellSpacing
challenge
challenge?: string
属性值
string
继承自 IButtonProps.challenge
charSet
charSet?: string
属性值
string
继承自 IButtonProps.charSet
checked
是否检查按钮。 在创建独立打开/关闭按钮时,应与 toggle
属性一起使用。
checked?: boolean
属性值
boolean
继承自 IButtonProps.checked
children
children?: ReactNode
属性值
ReactNode
继承自 IButtonProps.children
cite
cite?: string
属性值
string
继承自 IButtonProps.cite
classID
classID?: string
属性值
string
继承自 IButtonProps.classID
className
如果提供,则为根元素提供的其他类名。
className?: string
属性值
string
继承自 IButtonProps.className
color
color?: string
属性值
string
继承自 IButtonProps.color
cols
cols?: number
属性值
number
继承自 IButtonProps.cols
colSpan
colSpan?: number
属性值
number
继承自 IButtonProps.colSpan
componentRef
用于访问 IButton
接口的可选回调。 使用此方法而不是 ref
来访问组件的公共方法和属性。
componentRef?: IRefObject<IButton>
属性值
IRefObject<IButton>
继承自 IButtonProps.componentRef
content
content?: string
属性值
string
继承自 IButtonProps.content
contentEditable
contentEditable?: Booleanish | "inherit"
属性值
Booleanish | "inherit"
继承自 IButtonProps.contentEditable
contextMenu
contextMenu?: string
属性值
string
继承自 IButtonProps.contextMenu
controls
controls?: boolean
属性值
boolean
继承自 IButtonProps.controls
coords
coords?: string
属性值
string
继承自 IButtonProps.coords
crossOrigin
crossOrigin?: CrossOrigin
属性值
CrossOrigin
继承自 IButtonProps.crossOrigin
dangerouslySetInnerHTML
dangerouslySetInnerHTML?: { __html: string | TrustedHTML }
属性值
{ __html: string | TrustedHTML }
继承自 IButtonProps.dangerouslySetInnerHTML
data
开发人员希望与按钮关联的任何自定义数据。
data?: any
属性值
any
继承自 IButtonProps.data
datatype
datatype?: string
属性值
string
继承自 IButtonProps.datatype
dateTime
dateTime?: string
属性值
string
继承自 IButtonProps.dateTime
default
default?: boolean
属性值
boolean
继承自 IButtonProps.default
defaultChecked
defaultChecked?: boolean
属性值
boolean
继承自 IButtonProps.defaultChecked
defaultRender
然而未知的文档
defaultRender?: any
属性值
any
继承自 IButtonProps.defaultRender
defaultValue
defaultValue?: string | number | (readonly string[])
属性值
string | number | (readonly string[])
继承自 IButtonProps.defaultValue
defer
defer?: boolean
属性值
boolean
继承自 IButtonProps.defer
description
警告
现已弃用此 API。
Use secondaryText
instead.
说明文本(如果适用)的样式(适用于复合按钮)。
description?: string
属性值
string
继承自 IButtonProps.description
dir
dir?: string
属性值
string
继承自 IButtonProps.dir
disabled
按钮是否已禁用
disabled?: boolean
属性值
boolean
继承自 IButtonProps.disabled
download
download?: any
属性值
any
继承自 IButtonProps.download
draggable
draggable?: Booleanish
属性值
Booleanish
继承自 IButtonProps.draggable
elementRef
警告
现已弃用此 API。
Temporary solution which will be replaced with ref in the V8 release.
用于访问根 DOM 元素的可选回调。
elementRef?: Ref<HTMLElement>
属性值
Ref<HTMLElement>
继承自 IButtonProps.elementRef
encType
encType?: string
属性值
string
继承自 IButtonProps.encType
enterKeyHint
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send"
属性值
"enter" | "done" | "go" | "next" | "previous" | "search" | "send"
继承自 IButtonProps.enterKeyHint
form
form?: string
属性值
string
继承自 IButtonProps.form
formAction
formAction?: string
属性值
string
继承自 IButtonProps.formAction
formEncType
formEncType?: string
属性值
string
继承自 IButtonProps.formEncType
formMethod
formMethod?: string
属性值
string
继承自 IButtonProps.formMethod
formNoValidate
formNoValidate?: boolean
属性值
boolean
继承自 IButtonProps.formNoValidate
formTarget
formTarget?: string
属性值
string
继承自 IButtonProps.formTarget
frameBorder
frameBorder?: string | number
属性值
string | number
继承自 IButtonProps.frameBorder
getClassNames
提供用于设置按钮样式的类名的方法。
此属性的默认值是 getClassnames
中定义的 BaseButton.classnames.ts
func。
getClassNames?: (theme: ITheme, className: string, variantClassName: string, iconClassName: undefined | string, menuIconClassName: undefined | string, disabled: boolean, checked: boolean, expanded: boolean, hasMenu: boolean, isSplit: undefined | boolean, allowDisabledFocus: boolean) => IButtonClassNames
属性值
(theme: ITheme, className: string, variantClassName: string, iconClassName: undefined | string, menuIconClassName: undefined | string, disabled: boolean, checked: boolean, expanded: boolean, hasMenu: boolean, isSplit: undefined | boolean, allowDisabledFocus: boolean) => IButtonClassNames
继承自 IButtonProps.getClassNames
getSplitButtonClassNames
提供用于设置按钮样式的类名的方法。
此属性的默认值是 getClassnames
中定义的 BaseButton.classnames.ts
func。
getSplitButtonClassNames?: (disabled: boolean, expanded: boolean, checked: boolean, allowDisabledFocus: boolean) => ISplitButtonClassNames
属性值
(disabled: boolean, expanded: boolean, checked: boolean, allowDisabledFocus: boolean) => ISplitButtonClassNames
继承自 IButtonProps.getSplitButtonClassNames
headers
headers?: string
属性值
string
继承自 IButtonProps.headers
height
height?: string | number
属性值
string | number
继承自 IButtonProps.height
hidden
hidden?: boolean
属性值
boolean
继承自 IButtonProps.hidden
high
high?: number
属性值
number
继承自 IButtonProps.high
href
如果提供,此组件将呈现为定位点。
href?: string
属性值
string
继承自 IButtonProps.href
hrefLang
hrefLang?: string
属性值
string
继承自 IButtonProps.hrefLang
htmlFor
htmlFor?: string
属性值
string
继承自 IButtonProps.htmlFor
httpEquiv
httpEquiv?: string
属性值
string
继承自 IButtonProps.httpEquiv
iconProps
按钮中显示的图标的道具。
iconProps?: IIconProps
属性值
IIconProps
继承自 IButtonProps.iconProps
id
id?: string
属性值
string
继承自 IButtonProps.id 的
inlist
inlist?: any
属性值
any
继承自 IButtonProps.inlist
inputMode
提示用户在编辑元素或其内容时可能输入的数据类型
请参阅 https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute
inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal"
属性值
"none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal"
继承自 IButtonProps.inputMode
integrity
integrity?: string
属性值
string
继承自 IButtonProps.integrity
is
指定标准 HTML 元素的行为应类似于定义的自定义内置元素
请参阅 https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is
is?: string
属性值
string
继承自 IButtonProps.is 的
itemID
itemID?: string
属性值
string
继承自 IButtonProps.itemID
itemProp
itemProp?: string
属性值
string
继承自 IButtonProps.itemProp
itemRef
itemRef?: string
属性值
string
继承自 IButtonProps.itemRef
itemScope
itemScope?: boolean
属性值
boolean
继承自 IButtonProps.itemScope
itemType
itemType?: string
属性值
string
继承自 IButtonProps.itemType
keyParams
keyParams?: string
属性值
string
继承自 IButtonProps.keyParams
keytipProps
此按钮的可选键提示
keytipProps?: IKeytipProps
属性值
IKeytipProps
继承自 IButtonProps.keytipProps
keyType
keyType?: string
属性值
string
继承自 IButtonProps.keyType
kind
kind?: string
属性值
string
继承自 IButtonProps.kind
label
label?: string
属性值
string
继承自 IButtonProps.label
lang
lang?: string
属性值
string
继承自 IButtonProps.lang
list
list?: string
属性值
string
继承自 IButtonProps.list
loop
loop?: boolean
属性值
boolean
继承自 IButtonProps.loop
low
low?: number
属性值
number
继承自 IButtonProps.low
manifest
manifest?: string
属性值
string
继承自 IButtonProps.manifest
marginHeight
marginHeight?: number
属性值
number
继承自 IButtonProps.marginHeight
marginWidth
marginWidth?: number
属性值
number
继承自 IButtonProps.marginWidth
max
max?: string | number
属性值
string | number
继承自 IButtonProps.max 的
maxLength
maxLength?: number
属性值
number
继承自 IButtonProps.maxLength
media
media?: string
属性值
string
继承自 IButtonProps.media
mediaGroup
mediaGroup?: string
属性值
string
继承自 IButtonProps.mediaGroup
menuAs
呈现自定义菜单来代替普通菜单。
menuAs?: IComponentAs<IContextualMenuProps>
属性值
IComponentAs<IContextualMenuProps>
继承自 IButtonProps.menuA
menuIconProps
提供菜单下拉列表时显示的图标的道具。
menuIconProps?: IIconProps
属性值
IIconProps
继承自 IButtonProps.menuIconProps
menuProps
按钮菜单的道具。 提供此项将默认显示菜单图标。 请参阅 menuIconProps
来替代默认图标的外观。 除了 onClick
和将 split
属性设置为 true
外,提供此属性还会呈现 SplitButton。
menuProps?: IContextualMenuProps
属性值
IContextualMenuProps
继承自 IButtonProps.menuProps
menuTriggerKeyCode
提供可用于打开按钮菜单的自定义 KeyCode。
可以提供 null
值,以禁用使用按键打开按钮菜单。
menuTriggerKeyCode?: null | number
属性值
null | number
继承自 IButtonProps.menuTriggerKeyCode
method
method?: string
属性值
string
继承自 IButtonProps.method
min
min?: string | number
属性值
string | number
继承自 IButtonProps.min
minLength
minLength?: number
属性值
number
继承自 IButtonProps.minLength
multiple
multiple?: boolean
属性值
boolean
继承自 IButtonProps.multiple
muted
muted?: boolean
属性值
boolean
继承自 IButtonProps.muted
name
name?: string
属性值
string
继承自 IButtonProps.name 的
nonce
nonce?: string
属性值
string
继承自 IButtonProps.nonce
noValidate
noValidate?: boolean
属性值
boolean
继承自 IButtonProps.noValidate
onAbort
onAbort?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onAbort
onAbortCapture
onAbortCapture?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onAbortCapture
onAfterMenuDismiss
按钮的上下文菜单关闭后运行的回调(已从 DOM 中删除)
onAfterMenuDismiss?: () => void
属性值
() => void
继承自 IButtonProps.onAfterMenuDismiss
onAnimationEnd
onAnimationEnd?: AnimationEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
AnimationEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onAnimationEnd
onAnimationEndCapture
onAnimationEndCapture?: AnimationEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
AnimationEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onAnimationEndCapture
onAnimationIteration
onAnimationIteration?: AnimationEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
AnimationEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onAnimationIteration
onAnimationIterationCapture
onAnimationIterationCapture?: AnimationEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
AnimationEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onAnimationIterationCapture
onAnimationStart
onAnimationStart?: AnimationEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
AnimationEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onAnimationStart
onAnimationStartCapture
onAnimationStartCapture?: AnimationEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
AnimationEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onAnimationStartCapture
onAuxClick
onAuxClick?: MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onAuxClick
onAuxClickCapture
onAuxClickCapture?: MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onAuxClickCapture
onBeforeInput
onBeforeInput?: FormEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
FormEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onBeforeInput
onBeforeInputCapture
onBeforeInputCapture?: FormEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
FormEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onBeforeInputCapture
onBlur
onBlur?: FocusEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
FocusEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onBlur
onBlurCapture
onBlurCapture?: FocusEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
FocusEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onBlurCapture
onCanPlay
onCanPlay?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onCanPlay
onCanPlayCapture
onCanPlayCapture?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onCanPlayCapture
onCanPlayThrough
onCanPlayThrough?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onCanPlayThrough
onCanPlayThroughCapture
onCanPlayThroughCapture?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onCanPlayThroughCapture
onChange
onChange?: FormEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
FormEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onChange
onChangeCapture
onChangeCapture?: FormEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
FormEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onChangeCapture
onClick
onClick?: MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onClick
onClickCapture
onClickCapture?: MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onClickCapture
onCompositionEnd
onCompositionEnd?: CompositionEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
CompositionEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onCompositionEnd
onCompositionEndCapture
onCompositionEndCapture?: CompositionEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
CompositionEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onCompositionEndCapture
onCompositionStart
onCompositionStart?: CompositionEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
CompositionEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onCompositionStart
onCompositionStartCapture
onCompositionStartCapture?: CompositionEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
CompositionEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onCompositionStartCapture
onCompositionUpdate
onCompositionUpdate?: CompositionEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
CompositionEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onCompositionUpdate
onCompositionUpdateCapture
onCompositionUpdateCapture?: CompositionEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
CompositionEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onCompositionUpdateCapture
onContextMenu
onContextMenu?: MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onContextMenu
onContextMenuCapture
onContextMenuCapture?: MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onContextMenuCapture
onCopy
onCopy?: ClipboardEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ClipboardEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onCopy
onCopyCapture
onCopyCapture?: ClipboardEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ClipboardEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onCopyCapture
onCut
onCut?: ClipboardEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ClipboardEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onCut
onCutCapture
onCutCapture?: ClipboardEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ClipboardEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onCutCapture
onDoubleClick
onDoubleClick?: MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onDoubleClick
onDoubleClickCapture
onDoubleClickCapture?: MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onDoubleClickCapture
onDrag
onDrag?: DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onDrag
onDragCapture
onDragCapture?: DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onDragCapture
onDragEnd
onDragEnd?: DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onDragEnd
onDragEndCapture
onDragEndCapture?: DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onDragEndCapture
onDragEnter
onDragEnter?: DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onDragEnter
onDragEnterCapture
onDragEnterCapture?: DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onDragEnterCapture
onDragExit
onDragExit?: DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onDragExit
onDragExitCapture
onDragExitCapture?: DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onDragExitCapture
onDragLeave
onDragLeave?: DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onDragLeave
onDragLeaveCapture
onDragLeaveCapture?: DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onDragLeaveCapture
onDragOver
onDragOver?: DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onDragOver
onDragOverCapture
onDragOverCapture?: DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onDragOverCapture
onDragStart
onDragStart?: DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onDragStart
onDragStartCapture
onDragStartCapture?: DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onDragStartCapture
onDrop
onDrop?: DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onDrop
onDropCapture
onDropCapture?: DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
DragEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onDropCapture
onDurationChange
onDurationChange?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onDurationChange
onDurationChangeCapture
onDurationChangeCapture?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onDurationChangeCapture
onEmptied
onEmptied?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onEmptied
onEmptiedCapture
onEmptiedCapture?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onEmptiedCapture
onEncrypted
onEncrypted?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onEncrypted
onEncryptedCapture
onEncryptedCapture?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onEncryptedCapture
onEnded
onEnded?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onEnded
onEndedCapture
onEndedCapture?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onEndedCapture
onError
onError?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onError
onErrorCapture
onErrorCapture?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onErrorCapture
onFocus
onFocus?: FocusEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
FocusEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onFocus
onFocusCapture
onFocusCapture?: FocusEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
FocusEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onFocusCapture
onGotPointerCapture
onGotPointerCapture?: PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onGotPointerCapture
onGotPointerCaptureCapture
onGotPointerCaptureCapture?: PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onGotPointerCaptureCapture
onInput
onInput?: FormEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
FormEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onInput
onInputCapture
onInputCapture?: FormEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
FormEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onInputCapture
onInvalid
onInvalid?: FormEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
FormEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onInvalid
onInvalidCapture
onInvalidCapture?: FormEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
FormEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onInvalidCapture
onKeyDown
onKeyDown?: KeyboardEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
KeyboardEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onKeyDown
onKeyDownCapture
onKeyDownCapture?: KeyboardEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
KeyboardEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onKeyDownCapture
onKeyPress
警告
现已弃用此 API。
onKeyPress?: KeyboardEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
KeyboardEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onKeyPress
onKeyPressCapture
警告
现已弃用此 API。
onKeyPressCapture?: KeyboardEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
KeyboardEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onKeyPressCapture
onKeyUp
onKeyUp?: KeyboardEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
KeyboardEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onKeyUp
onKeyUpCapture
onKeyUpCapture?: KeyboardEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
KeyboardEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onKeyUpCapture
onLoad
onLoad?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onLoad
onLoadCapture
onLoadCapture?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onLoadCapture
onLoadedData
onLoadedData?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onLoadedData
onLoadedDataCapture
onLoadedDataCapture?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onLoadedDataCapture
onLoadedMetadata
onLoadedMetadata?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onLoadedMetadata
onLoadedMetadataCapture
onLoadedMetadataCapture?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onLoadedMetadataCapture
onLoadStart
onLoadStart?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onLoadStart
onLoadStartCapture
onLoadStartCapture?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onLoadStartCapture
onLostPointerCapture
onLostPointerCapture?: PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onLostPointerCapture
onLostPointerCaptureCapture
onLostPointerCaptureCapture?: PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onLostPointerCaptureCapture
onMenuClick
单击菜单时可选的回调。
onMenuClick?: (ev?: MouseEvent<HTMLElement, MouseEvent> | KeyboardEvent<HTMLElement>, button?: IButtonProps) => void
属性值
(ev?: MouseEvent<HTMLElement, MouseEvent> | KeyboardEvent<HTMLElement>, button?: IButtonProps) => void
继承自 IButtonProps.onMenuClick
onMouseDown
onMouseDown?: MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onMouseDown
onMouseDownCapture
onMouseDownCapture?: MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onMouseDownCapture
onMouseEnter
onMouseEnter?: MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onMouseEnter
onMouseLeave
onMouseLeave?: MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onMouseLeave
onMouseMove
onMouseMove?: MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onMouseMove
onMouseMoveCapture
onMouseMoveCapture?: MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onMouseMoveCapture
onMouseOut
onMouseOut?: MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onMouseOut
onMouseOutCapture
onMouseOutCapture?: MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onMouseOutCapture
onMouseOver
onMouseOver?: MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onMouseOver
onMouseOverCapture
onMouseOverCapture?: MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onMouseOverCapture
onMouseUp
onMouseUp?: MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onMouseUp
onMouseUpCapture
onMouseUpCapture?: MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
MouseEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onMouseUpCapture
onPaste
onPaste?: ClipboardEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ClipboardEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onPaste
onPasteCapture
onPasteCapture?: ClipboardEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ClipboardEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onPasteCapture
onPause
onPause?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onPause
onPauseCapture
onPauseCapture?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onPauseCapture
onPlay
onPlay?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onPlay
onPlayCapture
onPlayCapture?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onPlayCapture
onPlaying
onPlaying?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onPlaying
onPlayingCapture
onPlayingCapture?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onPlayingCapture
onPointerCancel
onPointerCancel?: PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onPointerCancel
onPointerCancelCapture
onPointerCancelCapture?: PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onPointerCancelCapture
onPointerDown
onPointerDown?: PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onPointerDown
onPointerDownCapture
onPointerDownCapture?: PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onPointerDownCapture
onPointerEnter
onPointerEnter?: PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onPointerEnter
onPointerEnterCapture
警告
现已弃用此 API。
This event handler was always ignored by React. It was added by mistake to the types.
onPointerEnterCapture?: PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onPointerEnterCapture
onPointerLeave
onPointerLeave?: PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onPointerLeave
onPointerLeaveCapture
警告
现已弃用此 API。
This event handler was always ignored by React. It was added by mistake to the types.
onPointerLeaveCapture?: PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onPointerLeaveCapture
onPointerMove
onPointerMove?: PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onPointerMove
onPointerMoveCapture
onPointerMoveCapture?: PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onPointerMoveCapture
onPointerOut
onPointerOut?: PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onPointerOut
onPointerOutCapture
onPointerOutCapture?: PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onPointerOutCapture
onPointerOver
onPointerOver?: PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onPointerOver
onPointerOverCapture
onPointerOverCapture?: PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onPointerOverCapture
onPointerUp
onPointerUp?: PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onPointerUp
onPointerUpCapture
onPointerUpCapture?: PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
PointerEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onPointerUpCapture
onProgress
onProgress?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onProgress
onProgressCapture
onProgressCapture?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onProgressCapture
onRateChange
onRateChange?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onRateChange
onRateChangeCapture
onRateChangeCapture?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onRateChangeCapture
onRenderAriaDescription
aria description 元素的自定义呈现函数。
onRenderAriaDescription?: IRenderFunction<IButtonProps>
属性值
IRenderFunction<IButtonProps>
继承自 IButtonProps.onRenderAriaDescription
onRenderChildren
用于呈现按钮子级的自定义呈现函数。
onRenderChildren?: IRenderFunction<IButtonProps>
属性值
IRenderFunction<IButtonProps>
继承自 IButtonProps.onRenderChildren
onRenderDescription
描述文本的自定义呈现函数。
onRenderDescription?: IRenderFunction<IButtonProps>
属性值
IRenderFunction<IButtonProps>
继承自 IButtonProps.onRenderDescription
onRenderIcon
图标的自定义呈现函数
onRenderIcon?: IRenderFunction<IButtonProps>
属性值
IRenderFunction<IButtonProps>
继承自 IButtonProps.onRenderIcon
onRenderMenu
警告
现已弃用此 API。
Deprecated at v6.3.2, to be removed at >= v7.0.0.
Use menuAs
instead.
onRenderMenu?: IRenderFunction<IContextualMenuProps>
属性值
IRenderFunction<IContextualMenuProps>
继承自 IButtonProps.onRenderMenu
onRenderMenuIcon
按钮菜单图标的自定义呈现函数
onRenderMenuIcon?: IRenderFunction<IButtonProps>
属性值
IRenderFunction<IButtonProps>
继承自 IButtonProps.onRenderMenuIcon
onRenderText
标签文本的自定义呈现函数。
onRenderText?: IRenderFunction<IButtonProps>
属性值
IRenderFunction<IButtonProps>
继承自 IButtonProps.onRenderText
onReset
onReset?: FormEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
FormEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onReset
onResetCapture
onResetCapture?: FormEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
FormEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onResetCapture
onScroll
onScroll?: UIEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
UIEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onScroll
onScrollCapture
onScrollCapture?: UIEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
UIEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onScrollCapture
onSeeked
onSeeked?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onSeeked
onSeekedCapture
onSeekedCapture?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onSeekedCapture
onSeeking
onSeeking?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onSeeking
onSeekingCapture
onSeekingCapture?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onSeekingCapture
onSelect
onSelect?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onSelect
onSelectCapture
onSelectCapture?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onSelectCapture
onStalled
onStalled?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onStalled
onStalledCapture
onStalledCapture?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onStalledCapture
onSubmit
onSubmit?: FormEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
FormEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onSubmit
onSubmitCapture
onSubmitCapture?: FormEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
FormEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onSubmitCapture
onSuspend
onSuspend?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onSuspend
onSuspendCapture
onSuspendCapture?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onSuspendCapture
onTimeUpdate
onTimeUpdate?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onTimeUpdate
onTimeUpdateCapture
onTimeUpdateCapture?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onTimeUpdateCapture
onTouchCancel
onTouchCancel?: TouchEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
TouchEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onTouchCancel
onTouchCancelCapture
onTouchCancelCapture?: TouchEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
TouchEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onTouchCancelCapture
onTouchEnd
onTouchEnd?: TouchEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
TouchEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onTouchEnd
onTouchEndCapture
onTouchEndCapture?: TouchEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
TouchEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onTouchEndCapture
onTouchMove
onTouchMove?: TouchEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
TouchEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onTouchMove
onTouchMoveCapture
onTouchMoveCapture?: TouchEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
TouchEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onTouchMoveCapture
onTouchStart
onTouchStart?: TouchEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
TouchEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onTouchStart
onTouchStartCapture
onTouchStartCapture?: TouchEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
TouchEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onTouchStartCapture
onTransitionEnd
onTransitionEnd?: TransitionEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
TransitionEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onTransitionEnd
onTransitionEndCapture
onTransitionEndCapture?: TransitionEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
TransitionEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onTransitionEndCapture
onVolumeChange
onVolumeChange?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onVolumeChange
onVolumeChangeCapture
onVolumeChangeCapture?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onVolumeChangeCapture
onWaiting
onWaiting?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onWaiting
onWaitingCapture
onWaitingCapture?: ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
ReactEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onWaitingCapture
onWheel
onWheel?: WheelEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
WheelEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onWheel
onWheelCapture
onWheelCapture?: WheelEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
属性值
WheelEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | BaseButton | Button | HTMLSpanElement>
继承自 IButtonProps.onWheelCapture
open
open?: boolean
属性值
boolean
继承自 IButtonProps.open
optimum
optimum?: number
属性值
number
继承自 IButtonProps.optimum
pattern
pattern?: string
属性值
string
继承自 IButtonProps.pattern
persistMenu
在打开或关闭时,不会创建或销毁菜单,而是隐藏菜单。 这将改善菜单打开的性能,但可能会通过多姆中的更多元素影响整体性能。 仅当菜单性能很重要时,才应使用。
注意:这可能会增加按钮本身装载所需的时间。
persistMenu?: boolean
属性值
boolean
继承自 IButtonProps.persistMenu
placeholder
placeholder?: string
属性值
string
继承自 IButtonProps.placeholder
playsInline
playsInline?: boolean
属性值
boolean
继承自 IButtonProps.playsInline
poster
poster?: string
属性值
string
继承自 IButtonProps.poster
prefix
prefix?: string
属性值
string
继承自 IButtonProps.prefix
preload
preload?: string
属性值
string
继承自 IButtonProps.preload
primary
更改要强调的按钮的视觉呈现。
primary?: boolean
属性值
boolean
继承自 IButtonProps.primary
primaryActionButtonProps
可选属性,仅应用于 SplitButton 的主操作按钮,而不是应用于整个 SplitButton 容器
primaryActionButtonProps?: IButtonProps
属性值
IButtonProps
继承自 IButtonProps.primaryActionButtonProps
primaryDisabled
如果设置为 true,这是拆分按钮(split
为 true),则禁用拆分按钮的主要操作。
primaryDisabled?: boolean
属性值
boolean
继承自 IButtonProps.primaryDisabled
property
property?: string
属性值
string
继承自 IButtonProps.property
radioGroup
radioGroup?: string
属性值
string
继承自 IButtonProps.radioGroup
readOnly
readOnly?: boolean
属性值
boolean
继承自 IButtonProps.readOnly
rel
rel?: string
属性值
string
继承自 IButtonProps.rel
renderPersistedMenuHiddenOnMount
警告
现已弃用此 API。
There is known bug in Edge when this prop is true where scrollbars overlap with the content when a menu is first rendered hidden. Please do not start using this. If you are already using this, please make sure that you are doing so only in non-Edge browsers. See: https://github.com/microsoft/fluentui/issues/9034
如果为 true,则当按钮最初装载时,持久化菜单将呈现为隐藏。 除非显示非持久化菜单,否则不会位于组件树中。
注意:这会增加按钮装载所需的时间,但可以改进感知到的菜单打开性能。 当用户打开菜单时。
renderPersistedMenuHiddenOnMount?: boolean
属性值
boolean
继承自 IButtonProps.renderPersistedMenuHiddenOnMount
required
required?: boolean
属性值
boolean
继承自 IButtonProps.required
resource
resource?: string
属性值
string
继承自 IButtonProps.resource
results
results?: number
属性值
number
继承自 IButtonProps.results
rev
rev?: string
属性值
string
继承自 IButtonProps.rev
reversed
reversed?: boolean
属性值
boolean
继承自 IButtonProps.reversed
role
role?: AriaRole
属性值
AriaRole
继承自 IButtonProps.role
rootProps
警告
现已弃用此 API。
Deprecated at v0.56.2, to be removed at >= v1.0.0. Use native props on the Button itself instead. They will be mixed into the button/anchor element rendered by the component.
rootProps?: ButtonHTMLAttributes<HTMLButtonElement> | AnchorHTMLAttributes<HTMLAnchorElement>
属性值
ButtonHTMLAttributes<HTMLButtonElement> | AnchorHTMLAttributes<HTMLAnchorElement>
继承自 IButtonProps.rootProps
rows
rows?: number
属性值
number
继承自 IButtonProps.rows
rowSpan
rowSpan?: number
属性值
number
继承自 IButtonProps.rowSpan
sandbox
sandbox?: string
属性值
string
继承自 IButtonProps.sandbox
scope
scope?: string
属性值
string
继承自 IButtonProps.scope
scoped
scoped?: boolean
属性值
boolean
继承自 IButtonProps.scoped
scrolling
scrolling?: string
属性值
string
继承自 IButtonProps.scrolling
seamless
seamless?: boolean
属性值
boolean
继承自 IButtonProps.seamless
secondaryText
此按钮执行的操作的说明。 仅用于复合按钮。
secondaryText?: string
属性值
string
继承自 IButtonProps.secondaryText
security
security?: string
属性值
string
继承自 IButtonProps.security
selected
selected?: boolean
属性值
boolean
继承自 IButtonProps.selected
shape
shape?: string
属性值
string
继承自 IButtonProps.shape
size
size?: number
属性值
number
继承自 IButtonProps.size
sizes
sizes?: string
属性值
string
继承自 IButtonProps.sizes
slot
slot?: string
属性值
string
继承自 IButtonProps.slot
span
span?: number
属性值
number
继承自 IButtonProps.span
spellCheck
spellCheck?: Booleanish
属性值
Booleanish
继承自 IButtonProps.spellCheck
split
如果设置为 true,并且提供了 menuProps
和 onClick
,按钮将呈现为 SplitButton。
split?: boolean
属性值
boolean
继承自 IButtonProps.split
splitButtonAriaLabel
如果拆分此按钮,则下拉 V 形按钮的可访问标签。
splitButtonAriaLabel?: string
属性值
string
继承自 IButtonProps.splitButtonAriaLabel
splitButtonMenuProps
传递到作为拆分按钮一部分呈现的 menuButton 的实验性属性。 传入的任何内容都可能需要进行伴随的样式更改。
splitButtonMenuProps?: IButtonProps
属性值
IButtonProps
继承自 IButtonProps.splitButtonMenuProps
src
src?: string
属性值
string
继承自 IButtonProps.src
srcDoc
srcDoc?: string
属性值
string
继承自 IButtonProps.srcDoc
srcLang
srcLang?: string
属性值
string
继承自 IButtonProps.srcLang
srcSet
srcSet?: string
属性值
string
继承自 IButtonProps.srcSet
start
start?: number
属性值
number
继承自 IButtonProps.start
step
step?: string | number
属性值
string | number
继承自 IButtonProps.step
style
style?: CSSProperties
属性值
CSSProperties
继承自 IButtonProps.style
summary
summary?: string
属性值
string
继承自 IButtonProps.summary
suppressContentEditableWarning
suppressContentEditableWarning?: boolean
属性值
boolean
继承自 IButtonProps.suppressContentEditableWarning
suppressHydrationWarning
suppressHydrationWarning?: boolean
属性值
boolean
继承自 IButtonProps.suppressHydrationWarning
tabIndex
tabIndex?: number
属性值
number
继承自 IButtonProps.tabIndex
target
target?: string
属性值
string
继承自 IButtonProps.target
text
用于呈现按钮标签的文本。 如果提供了文本,它将覆盖按钮子级中的任何字符串。 文本之后将传递其他子组件。
text?: string
属性值
string
继承自 IButtonProps.text
theme
HOC 提供的主题。
theme?: ITheme
属性值
ITheme
继承自 IButtonProps.theme
title
title?: string
属性值
string
继承自 IButtonProps.title
toggle
按钮是否为具有不同打开和关闭状态的切换按钮。 对于在按下事件完成时永久更改状态的按钮(例如音量静音按钮)而言,这应该如此。
toggle?: boolean
属性值
boolean
继承自 IButtonProps.toggle
toggled
警告
现已弃用此 API。
No longer used. Use checked
if setting state.
toggled?: boolean
属性值
boolean
继承自 IButtonProps.toggled
translate
translate?: "yes" | "no"
属性值
"yes" | "no"
继承自 IButtonProps.translate
type
type?: string
属性值
string
继承自 IButtonProps.type
typeof
typeof?: string
属性值
string
继承自 IButtonProps.typeof
uniqueId
用于标识项的唯一 ID。 通常为键值的副本。
uniqueId?: string | number
属性值
string | number
继承自 IButtonProps.uniqueId
unselectable
unselectable?: "off" | "on"
属性值
"off" | "on"
继承自 IButtonProps.unselectable
useMap
useMap?: string
属性值
string
继承自 IButtonProps.useMap
value
value?: string | number | (readonly string[])
属性值
string | number | (readonly string[])
继承自 IButtonProps.value
vocab
vocab?: string
属性值
string
继承自 IButtonProps.vocab
width
width?: string | number
属性值
string | number
继承自 IButtonProps.width
wmode
wmode?: string
属性值
string
继承自 IButtonProps.wmode
wrap
wrap?: string
属性值
string
继承自 IButtonProps.wrap