Initial
This commit is contained in:
69
resources/app/node_modules/@pixi/accessibility/lib/accessibleTarget.js
generated
vendored
Normal file
69
resources/app/node_modules/@pixi/accessibility/lib/accessibleTarget.js
generated
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
"use strict";
|
||||
const accessibleTarget = {
|
||||
/**
|
||||
* Flag for if the object is accessible. If true AccessibilityManager will overlay a
|
||||
* shadow div with attributes set
|
||||
* @member {boolean}
|
||||
* @memberof PIXI.DisplayObject#
|
||||
*/
|
||||
accessible: !1,
|
||||
/**
|
||||
* Sets the title attribute of the shadow div
|
||||
* If accessibleTitle AND accessibleHint has not been this will default to 'displayObject [tabIndex]'
|
||||
* @member {?string}
|
||||
* @memberof PIXI.DisplayObject#
|
||||
*/
|
||||
accessibleTitle: null,
|
||||
/**
|
||||
* Sets the aria-label attribute of the shadow div
|
||||
* @member {string}
|
||||
* @memberof PIXI.DisplayObject#
|
||||
*/
|
||||
accessibleHint: null,
|
||||
/**
|
||||
* @member {number}
|
||||
* @memberof PIXI.DisplayObject#
|
||||
* @private
|
||||
* @todo Needs docs.
|
||||
*/
|
||||
tabIndex: 0,
|
||||
/**
|
||||
* @member {boolean}
|
||||
* @memberof PIXI.DisplayObject#
|
||||
* @todo Needs docs.
|
||||
*/
|
||||
_accessibleActive: !1,
|
||||
/**
|
||||
* @member {boolean}
|
||||
* @memberof PIXI.DisplayObject#
|
||||
* @todo Needs docs.
|
||||
*/
|
||||
_accessibleDiv: null,
|
||||
/**
|
||||
* Specify the type of div the accessible layer is. Screen readers treat the element differently
|
||||
* depending on this type. Defaults to button.
|
||||
* @member {string}
|
||||
* @memberof PIXI.DisplayObject#
|
||||
* @default 'button'
|
||||
*/
|
||||
accessibleType: "button",
|
||||
/**
|
||||
* Specify the pointer-events the accessible div will use
|
||||
* Defaults to auto.
|
||||
* @member {string}
|
||||
* @memberof PIXI.DisplayObject#
|
||||
* @default 'auto'
|
||||
*/
|
||||
accessiblePointerEvents: "auto",
|
||||
/**
|
||||
* Setting to false will prevent any children inside this container to
|
||||
* be accessible. Defaults to true.
|
||||
* @member {boolean}
|
||||
* @memberof PIXI.DisplayObject#
|
||||
* @default true
|
||||
*/
|
||||
accessibleChildren: !0,
|
||||
renderId: -1
|
||||
};
|
||||
exports.accessibleTarget = accessibleTarget;
|
||||
//# sourceMappingURL=accessibleTarget.js.map
|
||||
Reference in New Issue
Block a user