Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
Updated list of AOM property names (#2580)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekashida authored and GitHub Enterprise committed Apr 4, 2018
1 parent bf90b46 commit ec4ee00
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions aura-impl/src/main/resources/aura/component/InteropComponentDef.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ InteropComponentDef.prototype.HTML_ATTRS_TO_DOM_PROPS = {
'for': 'htmlFor',

// Aria
'aria-autocomplete': 'ariaAutocomplete',
'aria-autocomplete': 'ariaAutoComplete',
'aria-checked': 'ariaChecked',
'aria-current': 'ariaCurrent',
'aria-disabled': 'ariaDisabled',
Expand All @@ -100,11 +100,11 @@ InteropComponentDef.prototype.HTML_ATTRS_TO_DOM_PROPS = {
'aria-invalid': 'ariaInvalid',
'aria-label': 'ariaLabel',
'aria-level': 'ariaLevel',
'aria-multiline': 'ariaMultiline',
'aria-multiline': 'ariaMultiLine',
'aria-multiselectable': 'ariaMultiSelectable',
'aria-orientation': 'ariaOrientation',
'aria-pressed': 'ariaPressed',
'aria-readonly': 'ariaReadonly',
'aria-readonly': 'ariaReadOnly',
'aria-required': 'ariaRequired',
'aria-selected': 'ariaSelected',
'aria-sort': 'ariaSort',
Expand All @@ -116,16 +116,26 @@ InteropComponentDef.prototype.HTML_ATTRS_TO_DOM_PROPS = {
'aria-relevant': 'ariaRelevant',
'aria-atomic': 'ariaAtomic',
'aria-busy': 'ariaBusy',
'aria-dropeffect': 'ariaDropEffect',
'aria-dragged': 'ariaDragged',
'aria-activedescendant': 'ariaActiveDescendant',
'aria-controls': 'ariaControls',
'aria-describedby': 'ariaDescribedBy',
'aria-flowto': 'ariaFlowTo',
'aria-labelledby': 'ariaLabelledBy',
'aria-owns': 'ariaOwns',
'aria-posinset': 'ariaPosInSet',
'aria-setsize': 'ariaSetSize'
'aria-setsize': 'ariaSetSize',

'aria-colcount': 'ariaColCount',
'aria-colindex': 'ariaColIndex',
'aria-details': 'ariaDetails',
'aria-errormessage': 'ariaErrorMessage',
'aria-keyshortcuts': 'ariaKeyShortcuts',
'aria-modal': 'ariaModal',
'aria-placeholder': 'ariaPlaceholder',
'aria-roledescription': 'ariaRoleDescription',
'aria-rowcount': 'ariaRowCount',
'aria-rowindex': 'ariaRowIndex',
'aria-rowspan': 'ariaRowSpan'
};

// Invert the (attr => prop) map to (prop => attr) while filtering out
Expand Down

0 comments on commit ec4ee00

Please sign in to comment.