Skip to content

Commit

Permalink
describe null defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Apr 8, 2022
1 parent ac53662 commit 4a7093d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/accessibility/pdom/ParallelDOM.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ const ACCESSIBILITY_OPTION_KEYS = [
'pdomTransformSourceNode' // {Node|null} - sets the node that controls primary sibling element positioning in the display, see setPDOMTransformSourceNode()
];

// Most options use null for their default behavior, see the setters for each option for a description of how null
// behaves as a default.
export type ParallelDOMOptions = {
focusable?: boolean | null;
tagName?: string | null;
Expand Down

0 comments on commit 4a7093d

Please sign in to comment.