google-closure-library
Version:
Google's common JavaScript library
62 lines (51 loc) • 1.62 kB
JavaScript
/**
* @license
* Copyright The Closure Library Authors.
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @fileoverview The file contains data tables generated from the ARIA
* standard schema http://www.w3.org/TR/wai-aria/.
*
* This is auto-generated code. Do not manually edit!
*/
goog.module('goog.a11y.aria.datatables');
goog.module.declareLegacyNamespace();
const State = goog.require('goog.a11y.aria.State');
/**
* A map that contains mapping between an ARIA state and the default value
* for it. Note that not all ARIA states have default values.
*
* @type {!Object<!State|string, string|boolean|number>|undefined}
*/
let defaultStateValueMap;
/**
* A method that creates a map that contains mapping between an ARIA state and
* the default value for it. Note that not all ARIA states have default values.
*
* @return {!Object<!State|string, string|boolean|number>}
* The names for each of the notification methods.
*/
exports.getDefaultValuesMap = function() {
if (!defaultStateValueMap) {
defaultStateValueMap = {
[]: false,
[]: 'none',
[]: 'none',
[]: false,
[]: 'off',
[]: false,
[]: false,
[]: 'vertical',
[]: false,
[]: 'additions text',
[]: false,
[]: 'none',
[]: false,
[]: false,
[]: false,
[]: 'false',
};
}
return defaultStateValueMap;
};