Skip to main content

plugin-a11y.a11ysystem

Home > @eva/plugin-a11y > A11ySystem

A11ySystem class

Signature:
export default class A11ySystem extends System 
Extends: System

Constructors

ConstructorModifiersDescription
(constructor)(opt)Constructs a new instance of the A11ySystem class

Properties

PropertyModifiersTypeDescription
_ratioXnumber
_ratioYnumber
activateboolean
cacheMap<string, HTMLElement>
debugboolean
delaynumber
divHTMLDivElement
eventCacheMap<string, (e: MouseEvent) => void>
eventPositionEventPosition
ratioXnumber
ratioYnumber
systemNamestaticstring
zIndexnumber

Methods

MethodModifiersDescription
add(changed)
addEvent(gameObject)
change(changed)
getCanvasBoundingClientRect()
getRenderRect()
init(opt)
initDiv()
onDestroy()
remove(changed)
removeEvent(changed)
setA11yAttr(element, component)
setEvent(element, event, gameObject, id)
setPosition(element, transform)
setRatio()
transformChange(changed)
update()
你有任何问题,或者需要我们帮你开发,请扫码联系
X