层次结构
-
HTMLAttributes<HTMLElement>
属性
可选 accessKey
accessKey: string
可选 aria-activedescendant
aria-activedescendant: string
可选 aria-atomic
aria-atomic: Booleanish
可选 aria-autocomplete
aria-autocomplete: "list" | "none" | "inline" | "both"
可选 aria-busy
aria-busy: Booleanish
可选 aria-checked
aria-checked: boolean | "true" | "false" | "mixed"
可选 aria-colcount
aria-colcount: number
可选 aria-colindex
aria-colindex: number
可选 aria-colspan
aria-colspan: number
可选 aria-controls
aria-controls: string
可选 aria-current
aria-current: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date"
可选 aria-describedby
aria-describedby: string
可选 aria-details
aria-details: string
可选 aria-disabled
aria-disabled: Booleanish
aria-dropeffect: "copy" | "link" | "none" | "execute" | "move" | "popup"
可选 aria-errormessage
aria-errormessage: string
可选 aria-expanded
aria-expanded: Booleanish
可选 aria-flowto
aria-flowto: string
可选 aria-grabbed
aria-grabbed: Booleanish
可选 aria-haspopup
aria-haspopup: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree"
可选 aria-hidden
aria-hidden: Booleanish
可选 aria-invalid
aria-invalid: boolean | "true" | "false" | "grammar" | "spelling"
可选 aria-keyshortcuts
aria-keyshortcuts: string
可选 aria-label
aria-label: string
可选 aria-labelledby
aria-labelledby: string
可选 aria-level
aria-level: number
可选 aria-live
aria-live: "off" | "assertive" | "polite"
可选 aria-modal
aria-modal: Booleanish
可选 aria-multiline
aria-multiline: Booleanish
可选 aria-multiselectable
aria-multiselectable: Booleanish
可选 aria-orientation
aria-orientation: "horizontal" | "vertical"
可选 aria-owns
aria-owns: string
可选 aria-placeholder
aria-placeholder: string
可选 aria-posinset
aria-posinset: number
可选 aria-pressed
aria-pressed: boolean | "true" | "false" | "mixed"
可选 aria-readonly
aria-readonly: Booleanish
可选 aria-relevant
aria-relevant: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals"
可选 aria-required
aria-required: Booleanish
可选 aria-roledescription
aria-roledescription: string
可选 aria-rowcount
aria-rowcount: number
可选 aria-rowindex
aria-rowindex: number
可选 aria-rowspan
aria-rowspan: number
可选 aria-selected
aria-selected: Booleanish
可选 aria-setsize
aria-setsize: number
可选 aria-sort
aria-sort: "none" | "ascending" | "descending" | "other"
可选 aria-valuemax
aria-valuemax: number
可选 aria-valuemin
aria-valuemin: number
可选 aria-valuenow
aria-valuenow: number
可选 aria-valuetext
aria-valuetext: string
可选 autoCapitalize
autoCapitalize: string
可选 autoCorrect
autoCorrect: string
可选 autoFocus
autoFocus: boolean
可选 autoSave
autoSave: string
可选 children
children: ReactNode
可选 className
className: string
可选 content
content: string
可选 contentEditable
contentEditable: Booleanish | "inherit"
可选 contextMenu
contextMenu: string
可选 dangerouslySetInnerHTML
dangerouslySetInnerHTML: { __html: string | TrustedHTML }
类型声明
-
__html: string | TrustedHTML
可选 datatype
datatype: string
可选 defaultChecked
defaultChecked: boolean
可选 defaultValue
defaultValue: string | number | readonly string[]
可选 draggable
draggable: Booleanish
可选 hidden
hidden: boolean
可选 inputMode
inputMode: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal"
可选 itemProp
itemProp: string
可选 itemRef
itemRef: string
可选 itemScope
itemScope: boolean
可选 itemType
itemType: string
可选 onAbort
onAbort: ReactEventHandler<HTMLElement>
可选 onAbortCapture
onAbortCapture: ReactEventHandler<HTMLElement>
可选 onAnimationEnd
onAnimationEnd: AnimationEventHandler<HTMLElement>
可选 onAnimationEndCapture
onAnimationEndCapture: AnimationEventHandler<HTMLElement>
可选 onAnimationIteration
onAnimationIteration: AnimationEventHandler<HTMLElement>
可选 onAnimationIterationCapture
onAnimationIterationCapture: AnimationEventHandler<HTMLElement>
可选 onAnimationStart
onAnimationStart: AnimationEventHandler<HTMLElement>
可选 onAnimationStartCapture
onAnimationStartCapture: AnimationEventHandler<HTMLElement>
可选 onAuxClick
onAuxClick: MouseEventHandler<HTMLElement>
可选 onAuxClickCapture
onAuxClickCapture: MouseEventHandler<HTMLElement>
可选 onBeforeInput
onBeforeInput: FormEventHandler<HTMLElement>
可选 onBeforeInputCapture
onBeforeInputCapture: FormEventHandler<HTMLElement>
可选 onBlur
onBlur: FocusEventHandler<HTMLElement>
可选 onBlurCapture
onBlurCapture: FocusEventHandler<HTMLElement>
可选 onCanPlay
onCanPlay: ReactEventHandler<HTMLElement>
可选 onCanPlayCapture
onCanPlayCapture: ReactEventHandler<HTMLElement>
可选 onCanPlayThrough
onCanPlayThrough: ReactEventHandler<HTMLElement>
可选 onCanPlayThroughCapture
onCanPlayThroughCapture: ReactEventHandler<HTMLElement>
可选 onChange
onChange: FormEventHandler<HTMLElement>
可选 onChangeCapture
onChangeCapture: FormEventHandler<HTMLElement>
可选 onClick
onClick: MouseEventHandler<HTMLElement>
可选 onClickCapture
onClickCapture: MouseEventHandler<HTMLElement>
可选 onCompositionEnd
onCompositionEnd: CompositionEventHandler<HTMLElement>
可选 onCompositionEndCapture
onCompositionEndCapture: CompositionEventHandler<HTMLElement>
可选 onCompositionStart
onCompositionStart: CompositionEventHandler<HTMLElement>
可选 onCompositionStartCapture
onCompositionStartCapture: CompositionEventHandler<HTMLElement>
可选 onCompositionUpdate
onCompositionUpdate: CompositionEventHandler<HTMLElement>
可选 onCompositionUpdateCapture
onCompositionUpdateCapture: CompositionEventHandler<HTMLElement>
可选 onContextMenu
onContextMenu: MouseEventHandler<HTMLElement>
可选 onContextMenuCapture
onContextMenuCapture: MouseEventHandler<HTMLElement>
可选 onCopy
onCopy: ClipboardEventHandler<HTMLElement>
可选 onCopyCapture
onCopyCapture: ClipboardEventHandler<HTMLElement>
可选 onCut
onCut: ClipboardEventHandler<HTMLElement>
可选 onCutCapture
onCutCapture: ClipboardEventHandler<HTMLElement>
可选 onDoubleClick
onDoubleClick: MouseEventHandler<HTMLElement>
可选 onDoubleClickCapture
onDoubleClickCapture: MouseEventHandler<HTMLElement>
可选 onDrag
onDrag: DragEventHandler<HTMLElement>
可选 onDragCapture
onDragCapture: DragEventHandler<HTMLElement>
可选 onDragEnd
onDragEnd: DragEventHandler<HTMLElement>
可选 onDragEndCapture
onDragEndCapture: DragEventHandler<HTMLElement>
可选 onDragEnter
onDragEnter: DragEventHandler<HTMLElement>
可选 onDragEnterCapture
onDragEnterCapture: DragEventHandler<HTMLElement>
可选 onDragExit
onDragExit: DragEventHandler<HTMLElement>
可选 onDragExitCapture
onDragExitCapture: DragEventHandler<HTMLElement>
可选 onDragLeave
onDragLeave: DragEventHandler<HTMLElement>
可选 onDragLeaveCapture
onDragLeaveCapture: DragEventHandler<HTMLElement>
可选 onDragOver
onDragOver: DragEventHandler<HTMLElement>
可选 onDragOverCapture
onDragOverCapture: DragEventHandler<HTMLElement>
可选 onDragStart
onDragStart: DragEventHandler<HTMLElement>
可选 onDragStartCapture
onDragStartCapture: DragEventHandler<HTMLElement>
可选 onDrop
onDrop: DragEventHandler<HTMLElement>
可选 onDropCapture
onDropCapture: DragEventHandler<HTMLElement>
可选 onDurationChange
onDurationChange: ReactEventHandler<HTMLElement>
可选 onDurationChangeCapture
onDurationChangeCapture: ReactEventHandler<HTMLElement>
可选 onEmptied
onEmptied: ReactEventHandler<HTMLElement>
可选 onEmptiedCapture
onEmptiedCapture: ReactEventHandler<HTMLElement>
可选 onEncrypted
onEncrypted: ReactEventHandler<HTMLElement>
可选 onEncryptedCapture
onEncryptedCapture: ReactEventHandler<HTMLElement>
可选 onEnded
onEnded: ReactEventHandler<HTMLElement>
可选 onEndedCapture
onEndedCapture: ReactEventHandler<HTMLElement>
可选 onError
onError: ReactEventHandler<HTMLElement>
可选 onErrorCapture
onErrorCapture: ReactEventHandler<HTMLElement>
可选 onFocus
onFocus: FocusEventHandler<HTMLElement>
可选 onFocusCapture
onFocusCapture: FocusEventHandler<HTMLElement>
可选 onGotPointerCapture
onGotPointerCapture: PointerEventHandler<HTMLElement>
可选 onGotPointerCaptureCapture
onGotPointerCaptureCapture: PointerEventHandler<HTMLElement>
可选 onInput
onInput: FormEventHandler<HTMLElement>
可选 onInputCapture
onInputCapture: FormEventHandler<HTMLElement>
可选 onInvalid
onInvalid: FormEventHandler<HTMLElement>
可选 onInvalidCapture
onInvalidCapture: FormEventHandler<HTMLElement>
可选 onKeyDown
onKeyDown: KeyboardEventHandler<HTMLElement>
可选 onKeyDownCapture
onKeyDownCapture: KeyboardEventHandler<HTMLElement>
可选 onKeyPress
onKeyPress: KeyboardEventHandler<HTMLElement>
可选 onKeyPressCapture
onKeyPressCapture: KeyboardEventHandler<HTMLElement>
可选 onKeyUp
onKeyUp: KeyboardEventHandler<HTMLElement>
可选 onKeyUpCapture
onKeyUpCapture: KeyboardEventHandler<HTMLElement>
可选 onLoad
onLoad: ReactEventHandler<HTMLElement>
可选 onLoadCapture
onLoadCapture: ReactEventHandler<HTMLElement>
可选 onLoadStart
onLoadStart: ReactEventHandler<HTMLElement>
可选 onLoadStartCapture
onLoadStartCapture: ReactEventHandler<HTMLElement>
可选 onLoadedData
onLoadedData: ReactEventHandler<HTMLElement>
可选 onLoadedDataCapture
onLoadedDataCapture: ReactEventHandler<HTMLElement>
可选 onLoadedMetadata
onLoadedMetadata: ReactEventHandler<HTMLElement>
可选 onLoadedMetadataCapture
onLoadedMetadataCapture: ReactEventHandler<HTMLElement>
可选 onLostPointerCapture
onLostPointerCapture: PointerEventHandler<HTMLElement>
可选 onLostPointerCaptureCapture
onLostPointerCaptureCapture: PointerEventHandler<HTMLElement>
可选 onMouseDown
onMouseDown: MouseEventHandler<HTMLElement>
可选 onMouseDownCapture
onMouseDownCapture: MouseEventHandler<HTMLElement>
可选 onMouseEnter
onMouseEnter: MouseEventHandler<HTMLElement>
可选 onMouseLeave
onMouseLeave: MouseEventHandler<HTMLElement>
可选 onMouseMove
onMouseMove: MouseEventHandler<HTMLElement>
可选 onMouseMoveCapture
onMouseMoveCapture: MouseEventHandler<HTMLElement>
可选 onMouseOut
onMouseOut: MouseEventHandler<HTMLElement>
可选 onMouseOutCapture
onMouseOutCapture: MouseEventHandler<HTMLElement>
可选 onMouseOver
onMouseOver: MouseEventHandler<HTMLElement>
可选 onMouseOverCapture
onMouseOverCapture: MouseEventHandler<HTMLElement>
可选 onMouseUp
onMouseUp: MouseEventHandler<HTMLElement>
可选 onMouseUpCapture
onMouseUpCapture: MouseEventHandler<HTMLElement>
可选 onPaste
onPaste: ClipboardEventHandler<HTMLElement>
可选 onPasteCapture
onPasteCapture: ClipboardEventHandler<HTMLElement>
可选 onPause
onPause: ReactEventHandler<HTMLElement>
可选 onPauseCapture
onPauseCapture: ReactEventHandler<HTMLElement>
可选 onPlay
onPlay: ReactEventHandler<HTMLElement>
可选 onPlayCapture
onPlayCapture: ReactEventHandler<HTMLElement>
可选 onPlaying
onPlaying: ReactEventHandler<HTMLElement>
可选 onPlayingCapture
onPlayingCapture: ReactEventHandler<HTMLElement>
可选 onPointerCancel
onPointerCancel: PointerEventHandler<HTMLElement>
可选 onPointerCancelCapture
onPointerCancelCapture: PointerEventHandler<HTMLElement>
可选 onPointerDown
onPointerDown: PointerEventHandler<HTMLElement>
可选 onPointerDownCapture
onPointerDownCapture: PointerEventHandler<HTMLElement>
可选 onPointerEnter
onPointerEnter: PointerEventHandler<HTMLElement>
可选 onPointerEnterCapture
onPointerEnterCapture: PointerEventHandler<HTMLElement>
可选 onPointerLeave
onPointerLeave: PointerEventHandler<HTMLElement>
可选 onPointerLeaveCapture
onPointerLeaveCapture: PointerEventHandler<HTMLElement>
可选 onPointerMove
onPointerMove: PointerEventHandler<HTMLElement>
可选 onPointerMoveCapture
onPointerMoveCapture: PointerEventHandler<HTMLElement>
可选 onPointerOut
onPointerOut: PointerEventHandler<HTMLElement>
可选 onPointerOutCapture
onPointerOutCapture: PointerEventHandler<HTMLElement>
可选 onPointerOver
onPointerOver: PointerEventHandler<HTMLElement>
可选 onPointerOverCapture
onPointerOverCapture: PointerEventHandler<HTMLElement>
可选 onPointerUp
onPointerUp: PointerEventHandler<HTMLElement>
可选 onPointerUpCapture
onPointerUpCapture: PointerEventHandler<HTMLElement>
可选 onProgress
onProgress: ReactEventHandler<HTMLElement>
可选 onProgressCapture
onProgressCapture: ReactEventHandler<HTMLElement>
可选 onRateChange
onRateChange: ReactEventHandler<HTMLElement>
可选 onRateChangeCapture
onRateChangeCapture: ReactEventHandler<HTMLElement>
可选 onReset
onReset: FormEventHandler<HTMLElement>
可选 onResetCapture
onResetCapture: FormEventHandler<HTMLElement>
可选 onResize
onResize: ReactEventHandler<HTMLElement>
可选 onResizeCapture
onResizeCapture: ReactEventHandler<HTMLElement>
可选 onScroll
onScroll: UIEventHandler<HTMLElement>
可选 onScrollCapture
onScrollCapture: UIEventHandler<HTMLElement>
可选 onSeeked
onSeeked: ReactEventHandler<HTMLElement>
可选 onSeekedCapture
onSeekedCapture: ReactEventHandler<HTMLElement>
可选 onSeeking
onSeeking: ReactEventHandler<HTMLElement>
可选 onSeekingCapture
onSeekingCapture: ReactEventHandler<HTMLElement>
可选 onSelect
onSelect: ReactEventHandler<HTMLElement>
可选 onSelectCapture
onSelectCapture: ReactEventHandler<HTMLElement>
可选 onStalled
onStalled: ReactEventHandler<HTMLElement>
可选 onStalledCapture
onStalledCapture: ReactEventHandler<HTMLElement>
可选 onSubmit
onSubmit: FormEventHandler<HTMLElement>
可选 onSubmitCapture
onSubmitCapture: FormEventHandler<HTMLElement>
可选 onSuspend
onSuspend: ReactEventHandler<HTMLElement>
可选 onSuspendCapture
onSuspendCapture: ReactEventHandler<HTMLElement>
可选 onTimeUpdate
onTimeUpdate: ReactEventHandler<HTMLElement>
可选 onTimeUpdateCapture
onTimeUpdateCapture: ReactEventHandler<HTMLElement>
可选 onTouchCancel
onTouchCancel: TouchEventHandler<HTMLElement>
可选 onTouchCancelCapture
onTouchCancelCapture: TouchEventHandler<HTMLElement>
可选 onTouchEnd
onTouchEnd: TouchEventHandler<HTMLElement>
可选 onTouchEndCapture
onTouchEndCapture: TouchEventHandler<HTMLElement>
可选 onTouchMove
onTouchMove: TouchEventHandler<HTMLElement>
可选 onTouchMoveCapture
onTouchMoveCapture: TouchEventHandler<HTMLElement>
可选 onTouchStart
onTouchStart: TouchEventHandler<HTMLElement>
可选 onTouchStartCapture
onTouchStartCapture: TouchEventHandler<HTMLElement>
可选 onTransitionEnd
onTransitionEnd: TransitionEventHandler<HTMLElement>
可选 onTransitionEndCapture
onTransitionEndCapture: TransitionEventHandler<HTMLElement>
可选 onVolumeChange
onVolumeChange: ReactEventHandler<HTMLElement>
可选 onVolumeChangeCapture
onVolumeChangeCapture: ReactEventHandler<HTMLElement>
可选 onWaiting
onWaiting: ReactEventHandler<HTMLElement>
可选 onWaitingCapture
onWaitingCapture: ReactEventHandler<HTMLElement>
可选 onWheel
onWheel: WheelEventHandler<HTMLElement>
可选 onWheelCapture
onWheelCapture: WheelEventHandler<HTMLElement>
可选 placeholder
placeholder: string
可选 property
property: string
可选 radioGroup
radioGroup: string
可选 resource
resource: string
可选 results
results: number
可选 security
security: string
可选 spellCheck
spellCheck: Booleanish
可选 style
style: CSSProperties
可选 suppressContentEditableWarning
suppressContentEditableWarning: boolean
可选 suppressHydrationWarning
suppressHydrationWarning: boolean
swiper
swiper: any
可选 tabIndex
tabIndex: number
可选 translate
translate: "yes" | "no"
可选 unselectable
unselectable: "on" | "off"
当 DOM 焦点位于复合小部件、文本框、组或应用程序上时,标识当前活动的元素。