[
  {
    "id": "oj-c.Switch",
    "name": "Switch",
    "memberof": "oj-c",
    "kind": "class",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "ojcomponent": true,
    "isvcomponent": true,
    "since": "21.0.0",
    "longname": "oj-c.Switch",
    "pack": "oj-c",
    "classdesc": "<h3 id=\"switchOverview-section\">\n  JET Switch Component\n  <a class=\"bookmarkable-link\" title=\"Bookmarkable Link\" href=\"#switchOverview-section\"></a>\n</h3>\n\nThe Switch component toggles between two mutually exclusive states, such as on and off.\nIt immediately affects content or state for binary choices that must take effect right away,\nfor example, switching between light and dark mode.\n\n<pre class=\"prettyprint\">\n<code>\n&lt;oj-c-switch label-hint=\"Notifications\" value=\"false\">&lt;/oj-c-switch>\n</code>\n</pre>\n<h3 id=\"validation-section\">\n  Validation and Messaging\n  <a class=\"bookmarkable-link\" title=\"Bookmarkable Link\" href=\"#validation-section\"></a>\n</h3>\n\n<p>\noj-c-switch does not support JET EditableValue validation features such as converters, validators,\nor the <code class=\"prettyprint\">required</code> property. As a result, it does not run normal or\ndeferred validation and does not provide <code class=\"prettyprint\">validate()</code> or\n<code class=\"prettyprint\">showMessages()</code>.\n</p>\n\n<p>\nApplications can display business/custom validation messages using the\n<a href=\"#messagesCustom\"><code class=\"prettyprint\">messagesCustom</code></a> property.\nMessages set through <code class=\"prettyprint\">messagesCustom</code> are shown immediately.\nTo clear custom messages, set <code class=\"prettyprint\">messagesCustom</code> to an empty array.\n</p>\n\n<p>\nThe component clears <code class=\"prettyprint\">messagesCustom</code> when:\n<ul>\n  <li>the user toggles the switch (value changes due to user interaction)</li>\n  <li>the application changes the <code class=\"prettyprint\">value</code> property programmatically</li>\n  <li>the <a href=\"#reset\"><code class=\"prettyprint\">reset()</code></a> method is called</li>\n</ul>\n</p>\n\n<p>\nThe <a href=\"#valid\"><code class=\"prettyprint\">valid</code></a> property reflects the current\nmessaging state (for example, it becomes invalid when custom error messages are present).\n</p>\n\n<h3 id=\"user-assistance-text-section\">\n  User Assistance Text\n  <a class=\"bookmarkable-link\" title=\"Bookmarkable Link\" href=\"#user-assistance-text-section\"></a>\n</h3>\n<p>\nUser assistive text provides guidance to help the user understand what data to enter or select.\n</p>\n<p>\nBy default all user assistance text shows inline.\nSee the user-assistance-density property for other ways\nthe user assistance text can render, like in 'compact' mode.\n</p>\n<p>\nThe JET form component properties that are used for user assistance text are help.instruction,\nvalidator and converter hints (for components that support these properties), and help-hints.\nIn the Redwood theme for clarity only one user assistance text shows to the user.\nThe precedence rules are:\n<ul>\n<li>help.instruction shows;</li>\n<li>if no help.instruction, then validator hint shows (for components that have validators);</li>\n<li>if no help.instruction or validator hint, then help-hints.definition shows;</li>\n<li>if no help.instruction, validator hint, or help-hints.definition, then converter hint shows (for components that have converters).</li>\n<li>help-hints.source always shows along side the above.</li>\n</ul>\n</p>\n\n<h3 id=\"touch-section\">\n  Touch End User Information\n  <a class=\"bookmarkable-link\" title=\"Bookmarkable Link\" href=\"#touch-section\"></a>\n</h3>\n\n<table class=\"keyboard-table\">\n  <thead>\n    <tr>\n      <th>Target</th>\n      <th>Gesture</th>\n      <th>Action</th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <td>Switch</td>\n      <td><kbd>Tap</kbd></td>\n      <td>Toggles the switch value.</td>\n    </tr>\n  </tbody>\n</table>\n\n<h3 id=\"keyboard-section\">\n  Keyboard End User Information\n  <a class=\"bookmarkable-link\" title=\"Bookmarkable Link\" href=\"#keyboard-section\"></a>\n</h3>\n\n<table class=\"keyboard-table\">\n  <thead>\n    <tr>\n      <th>Target</th>\n      <th>Key</th>\n      <th>Action</th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <td>Switch</td>\n      <td><kbd>Tab In</kbd></td>\n      <td>Sets focus to the switch.</td>\n    </tr>\n    <tr>\n      <td>Switch</td>\n      <td><kbd>Space</kbd> or <kbd>Enter</kbd></td>\n      <td>Toggles the switch value.</td>\n    </tr>\n  </tbody>\n</table>\n\n\n<h3 id=\"a11y-section\">\n  Accessibility\n  <a class=\"bookmarkable-link\" title=\"Bookmarkable Link\" href=\"#a11y-section\"></a>\n</h3>\n\n<p>\nFor accessibility, set the <a href=\"#labelHint\">label-hint</a> property.\nIf there is no visible label, then to make this accessible to screen reader users,\nset the <a href=\"#labelHint\">label-hint</a> and <a href=\"#labelEdge\">label-edge</a>='none'\nwhich renders an aria-label with the label-hint text.\n</p>\n\n<p>\nThe component is accessible; it sets and maintains the appropriate aria- attributes\n(for example <code class=\"prettyprint\">aria-checked</code> and <code class=\"prettyprint\">aria-disabled</code>).\n</p>\n\n<p>\nDisabled content: JET supports an accessible luminosity contrast ratio,\nas specified in <a href=\"http://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast\">WCAG 2.0 - Section 1.4.3 \"Contrast\"</a>,\nin the themes that are accessible. (See the \"Theming\" chapter of the JET Developer Guide for more information on which\nthemes are accessible.) Note that Section 1.4.3 says that text or images of text that are part of an inactive user\ninterface component have no contrast requirement. Because disabled content may not meet the minimum contrast ratio\nrequired of enabled content, it cannot be used to convey meaningful information.\n</p>",
    "scope": "static",
    "tagWithoutBrackets": "oj-c-switch",
    "tagWithBrackets": "<oj-c-switch>",
    "domInterface": "CSwitchElement",
    "ojPageTitle": "&lt;oj-c-switch>",
    "camelCaseName": "Switch",
    "ojPageTitlePrefix": "Element: ",
    "ojtsvcomponent": true,
    "tstype": {
      "target": "Type",
      "value": "interface CSwitchElement extends JetElement<SwitchElementSettableProperties>"
    },
    "ojsignature": [
      {
        "target": "Type",
        "value": "interface CSwitchElement extends JetElement<SwitchElementSettableProperties>"
      }
    ],
    "tsdeprecated": [
      {
        "type": "supersedes",
        "since": "21.0.0",
        "value": [
          "oj-switch"
        ]
      }
    ],
    "extension": {
      "catalog": {
        "category": "Forms"
      },
      "vbdt": {
        "module": "oj-c/switch",
        "defaultColumns": 6,
        "minColumns": 2
      },
      "oracle": {
        "icon": "oj-ux-ico-switch-on",
        "uxSpecs": [
          "switch"
        ]
      }
    },
    "ojmodule": "switch"
  },
  {
    "id": "oj-c.Switch#displayOptions",
    "name": "displayOptions",
    "memberof": "oj-c.Switch",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "kind": "member",
    "longname": "oj-c.Switch#displayOptions",
    "scope": "instance",
    "type": {
      "names": [
        "object"
      ]
    },
    "optional": true,
    "ojdisplayname": "Display Options",
    "description": "Display options for auxiliary content that determines whether or not it should be displayed.",
    "tstype": [
      {
        "target": "Type",
        "value": "oj-c.Switch.DisplayOptionsProps",
        "jsdocOverride": true
      }
    ]
  },
  {
    "id": "oj-c.Switch#columnSpan",
    "name": "columnSpan",
    "memberof": "oj-c.Switch",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "kind": "member",
    "longname": "oj-c.Switch#columnSpan",
    "scope": "instance",
    "type": {
      "names": [
        "number"
      ]
    },
    "optional": true,
    "ojdisplayname": "Column Span",
    "ojshortdesc": "Specifies how many columns this component should span.",
    "description": "Specifies how many columns this component should span.\nThis only takes effect when this component is a child of a form layout\nthat has direction 'row'.",
    "defaultvalue": 1
  },
  {
    "id": "oj-c.Switch#containerReadonly",
    "name": "containerReadonly",
    "memberof": "oj-c.Switch",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "kind": "member",
    "longname": "oj-c.Switch#containerReadonly",
    "scope": "instance",
    "type": {
      "names": [
        "boolean"
      ]
    },
    "optional": true,
    "ojdisplayname": "Container Readonly",
    "description": "Specifies whether an ancestor container, like oj-c-form-layout, is readonly."
  },
  {
    "id": "oj-c.Switch#disabled",
    "name": "disabled",
    "memberof": "oj-c.Switch",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "kind": "member",
    "longname": "oj-c.Switch#disabled",
    "scope": "instance",
    "type": {
      "names": [
        "boolean"
      ]
    },
    "optional": true,
    "ojdisplayname": "Disabled",
    "ojshortdesc": "Specifies whether the component is disabled.",
    "description": "Whether the component is disabled.",
    "defaultvalue": false
  },
  {
    "id": "oj-c.Switch#help",
    "name": "help",
    "memberof": "oj-c.Switch",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "kind": "member",
    "longname": "oj-c.Switch#help",
    "scope": "instance",
    "type": {
      "names": [
        "object"
      ]
    },
    "optional": true,
    "ojdisplayname": "Help",
    "description": "Form component help information.",
    "tstype": [
      {
        "target": "Type",
        "value": "oj-c.Switch.Help",
        "jsdocOverride": true
      }
    ]
  },
  {
    "id": "oj-c.Switch#helpHints",
    "name": "helpHints",
    "memberof": "oj-c.Switch",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "kind": "member",
    "longname": "oj-c.Switch#helpHints",
    "scope": "instance",
    "type": {
      "names": [
        "object"
      ]
    },
    "optional": true,
    "ojdisplayname": "Help Hints",
    "description": "The helpHints object contains a definition property, sourceText property, and a source property.",
    "tstype": [
      {
        "target": "Type",
        "value": "oj-c.Switch.HelpHints",
        "jsdocOverride": true
      }
    ]
  },
  {
    "id": "oj-c.Switch#labelEdge",
    "name": "labelEdge",
    "memberof": "oj-c.Switch",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "kind": "member",
    "longname": "oj-c.Switch#labelEdge",
    "scope": "instance",
    "type": {
      "names": [
        "\"none\"",
        "\"start\"",
        "\"top\"",
        "\"inside\""
      ]
    },
    "optional": true,
    "ojdisplayname": "Label Edge",
    "ojshortdesc": "Specifies how the label is positioned for the component",
    "description": "Specifies how the label of the component is positioned when the label-hint\nattribute is set on the component.",
    "ojvalues": [
      {
        "name": "inside",
        "description": "The label will be placed on top of the switch, but is smaller than 'top' option.",
        "displayName": "Inside",
        "type": {
          "names": [
            "string"
          ]
        }
      },
      {
        "name": "none",
        "description": "The switch will not create a label, but instead set the aria-label property on the switch.",
        "displayName": "None",
        "type": {
          "names": [
            "string"
          ]
        }
      },
      {
        "name": "start",
        "description": "The label will be placed before the start of the switch.",
        "displayName": "Start",
        "type": {
          "names": [
            "string"
          ]
        }
      },
      {
        "name": "top",
        "description": "The label will be placed on top of the switch.",
        "displayName": "Top",
        "type": {
          "names": [
            "string"
          ]
        }
      }
    ],
    "ojvalueskeeporder": true
  },
  {
    "id": "oj-c.Switch#labelHint",
    "name": "labelHint",
    "memberof": "oj-c.Switch",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "kind": "member",
    "longname": "oj-c.Switch#labelHint",
    "scope": "instance",
    "type": {
      "names": [
        "string"
      ]
    },
    "optional": false,
    "ojdisplayname": "Label Hint",
    "ojshortdesc": "Represents a hint for rendering a label on the component.",
    "description": "Represents a hint for rendering a label on the component.\nUsed in combination with label-edge."
  },
  {
    "id": "oj-c.Switch#labelStartWidth",
    "name": "labelStartWidth",
    "memberof": "oj-c.Switch",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "kind": "member",
    "longname": "oj-c.Switch#labelStartWidth",
    "scope": "instance",
    "type": {
      "names": [
        "number|string"
      ]
    },
    "optional": true,
    "ojdisplayname": "Label Start Width",
    "description": "The width of the label when labelEdge is 'start'."
  },
  {
    "id": "oj-c.Switch#labelWrapping",
    "name": "labelWrapping",
    "memberof": "oj-c.Switch",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "kind": "member",
    "longname": "oj-c.Switch#labelWrapping",
    "scope": "instance",
    "type": {
      "names": [
        "\"truncate\"",
        "\"wrap\""
      ]
    },
    "optional": true,
    "ojdisplayname": "Label Wrapping",
    "ojshortdesc": "Should the labels wrap or truncate when there is not enough available space.",
    "description": "Should the labels wrap or truncate when there is not enough available space.",
    "tsdeprecated": [
      {
        "type": "deprecated",
        "since": "21.0.0",
        "description": "Label truncation for 'start' and 'top' aligned labels is no longer recommended by the Redwood Design System. The default for labelWrapping was 'wrap' and that is now the only suggested pattern by UX design for 'start' and 'top' aligned labels. 'inside' aligned labels are always truncated per UX design and are not affected by this property's value."
      }
    ],
    "ojvalues": [
      {
        "name": "truncate",
        "description": "Label will truncate if needed.",
        "displayName": "Truncate",
        "type": {
          "names": [
            "string"
          ]
        }
      },
      {
        "name": "wrap",
        "description": "Label will wrap if needed.",
        "displayName": "Wrap",
        "type": {
          "names": [
            "string"
          ]
        }
      }
    ],
    "ojvalueskeeporder": true
  },
  {
    "id": "oj-c.Switch#messagesCustom",
    "name": "messagesCustom",
    "memberof": "oj-c.Switch",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "kind": "member",
    "longname": "oj-c.Switch#messagesCustom",
    "scope": "instance",
    "type": {
      "names": [
        "Array<object>"
      ]
    },
    "optional": true,
    "ojdisplayname": "Messages Custom",
    "ojwriteback": true,
    "ojshortdesc": "List of custom component messages",
    "description": "List of messages an app would add to the component when it has business/custom validation\nerrors that it wants the component to show. This allows the app to perform further validation\nbefore sending data to the server. When this option is set the message shows to the\nuser right away. To clear the custom message, set <code class=\"prettyprint\">messagesCustom</code>\nback to an empty array.<br/>\n<p>\nSee the <a href=\"#validation-section\">Validation and Messaging</a> section for details on when the\ncomponent clears <code class=\"prettyprint\">messagesCustom</code>; for example, when the value changes.\n</p>",
    "defaultvalue": "[]",
    "tstype": [
      {
        "target": "Type",
        "value": "Array<oj-c.Switch.ComponentMessageItem>",
        "jsdocOverride": true
      }
    ]
  },
  {
    "id": "oj-c.Switch#readonly",
    "name": "readonly",
    "memberof": "oj-c.Switch",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "kind": "member",
    "longname": "oj-c.Switch#readonly",
    "scope": "instance",
    "type": {
      "names": [
        "boolean"
      ]
    },
    "optional": true,
    "ojdisplayname": "Readonly",
    "ojshortdesc": "Whether the component is readonly",
    "description": "Whether the component is readonly."
  },
  {
    "id": "oj-c.Switch#readonlyUserAssistanceShown",
    "name": "readonlyUserAssistanceShown",
    "memberof": "oj-c.Switch",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "kind": "member",
    "longname": "oj-c.Switch#readonlyUserAssistanceShown",
    "scope": "instance",
    "type": {
      "names": [
        "\"none\"",
        "\"confirmationAndInfoMessages\""
      ]
    },
    "optional": true,
    "ojdisplayname": "ReadonlyUserAssistanceShown",
    "description": "Specifies which user assistance types should be shown when the component is readonly.",
    "defaultvalue": "'none'"
  },
  {
    "id": "oj-c.Switch#userAssistanceDensity",
    "name": "userAssistanceDensity",
    "memberof": "oj-c.Switch",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "kind": "member",
    "longname": "oj-c.Switch#userAssistanceDensity",
    "scope": "instance",
    "type": {
      "names": [
        "\"compact\"",
        "\"reflow\"",
        "\"efficient\""
      ]
    },
    "optional": true,
    "ojdisplayname": "User Assistance Density",
    "ojshortdesc": "Specifies the density of the form component's user assistance presentation.",
    "description": "<p>\nSpecifies the density of the form component's user assistance presentation.\n</p>\n<p>\nIf the property value is not set either directly on the component or inherited from\na parent form layout, then the property is treated as if its value were \"reflow\".\n</p>",
    "ojvalues": [
      {
        "name": "reflow",
        "description": "Messages, help, and hints are all shown inline under the field with no reserved space. Layout will reflow when text is displayed.",
        "displayName": "Reflow",
        "type": {
          "names": [
            "string"
          ]
        }
      },
      {
        "name": "efficient",
        "description": "Messages, help, and hints are all shown inline under the field with reserved space.",
        "displayName": "Efficient",
        "type": {
          "names": [
            "string"
          ]
        }
      },
      {
        "name": "compact",
        "description": "Messages, help, and hints are all shown inline under the field with reserved space.",
        "displayName": "Compact",
        "type": {
          "names": [
            "string"
          ]
        }
      }
    ],
    "ojvalueskeeporder": true
  },
  {
    "id": "oj-c.Switch#value",
    "name": "value",
    "memberof": "oj-c.Switch",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "kind": "member",
    "longname": "oj-c.Switch#value",
    "scope": "instance",
    "type": {
      "names": [
        "boolean"
      ]
    },
    "optional": true,
    "ojdisplayname": "Value",
    "ojwriteback": true,
    "ojshortdesc": "The boolean state of the switch component.",
    "description": "The boolean state of the switch component.\n\n<p>\nWhen the <code class=\"prettyprint\">value</code> property changes due to programmatic intervention,\nthe component clears all messages including <code class=\"prettyprint\">messagesCustom</code>.\n</p>",
    "defaultvalue": false
  },
  {
    "id": "oj-c.Switch#valid",
    "name": "valid",
    "memberof": "oj-c.Switch",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "kind": "member",
    "longname": "oj-c.Switch#valid",
    "scope": "instance",
    "type": {
      "names": [
        "\"pending\"",
        "\"valid\"",
        "\"invalidHidden\"",
        "\"invalidShown\""
      ]
    },
    "optional": true,
    "ojdisplayname": "Valid",
    "ojwriteback": true,
    "readonly": true,
    "ojshortdesc": "Specifies the valid state of the component.",
    "description": "<p>\nThe current valid state of the component. It is evaluated on initial render.\nSince oj-c-switch does not support converters, validators, or the <code class=\"prettyprint\">required</code>\nproperty, the valid state is re-evaluated:\n<ul>\n  <li>when <code class=\"prettyprint\">messagesCustom</code> is updated</li>\n  <li>when the <code class=\"prettyprint\">value</code> changes (user interaction or programmatic intervention), since the component clears <code class=\"prettyprint\">messagesCustom</code></li>\n  <li>when <code class=\"prettyprint\">reset()</code> is called</li>\n</ul>\n</p>\n<p>\n Note: New valid states may be added to the list of valid values in future releases.\n Any new values will start with \"invalid\"\n if it is an invalid state, \"pending\" if it is pending state,\n and \"valid\" if it is a valid state.\n</p>",
    "ojvalues": [
      {
        "name": "valid",
        "description": "The component is valid",
        "displayName": "Valid",
        "type": {
          "names": [
            "string"
          ]
        }
      },
      {
        "name": "pending",
        "description": "The component is waiting for the validation state to be determined. The 'pending' state is set at the start of the validation process.",
        "displayName": "Pending",
        "type": {
          "names": [
            "string"
          ]
        }
      },
      {
        "name": "invalidHidden",
        "description": "The component has invalid messages hidden and no invalid messages showing. An invalid message is one with severity 'error'.",
        "displayName": "Invalid Hidden",
        "type": {
          "names": [
            "string"
          ]
        }
      },
      {
        "name": "invalidShown",
        "description": "The component has invalid messages showing. An invalid message is one with severity 'error'.",
        "displayName": "Invalid Shown",
        "type": {
          "names": [
            "string"
          ]
        }
      }
    ],
    "ojvalueskeeporder": true
  },
  {
    "id": "oj-c.Switch#blur",
    "name": "blur",
    "memberof": "oj-c.Switch",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "kind": "function",
    "longname": "oj-c.Switch#blur",
    "scope": "instance",
    "returns": [
      {
        "type": {
          "names": [
            "void"
          ]
        }
      }
    ],
    "ojshortdesc": "Blurs the field.",
    "description": "Blurs the field.",
    "ojhidden": true
  },
  {
    "id": "oj-c.Switch#focus",
    "name": "focus",
    "memberof": "oj-c.Switch",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "kind": "function",
    "longname": "oj-c.Switch#focus",
    "scope": "instance",
    "returns": [
      {
        "type": {
          "names": [
            "void"
          ]
        }
      }
    ],
    "ojshortdesc": "Focuses the field.",
    "description": "Focuses the field.",
    "ojhidden": true
  },
  {
    "id": "oj-c.Switch#reset",
    "name": "reset",
    "memberof": "oj-c.Switch",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "kind": "function",
    "longname": "oj-c.Switch#reset",
    "scope": "instance",
    "returns": [
      {
        "type": {
          "names": [
            "void"
          ]
        }
      }
    ],
    "description": "Resets the component by clearing all messages."
  },
  {
    "id": "oj-c.Switch#setProperty",
    "name": "setProperty",
    "memberof": "oj-c.Switch",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "kind": "function",
    "longname": "oj-c.Switch#setProperty",
    "scope": "instance",
    "returns": [
      {
        "type": {
          "names": [
            "void"
          ]
        }
      }
    ],
    "ojshortdesc": "Sets a property or a single subproperty for complex properties and notifies the component of the change, triggering a corresponding event.",
    "description": "Sets a property or a single subproperty for complex properties and notifies the component of the change, triggering a corresponding event.",
    "params": [
      {
        "name": "property",
        "description": "The property name to set. Supports dot notation for subproperty access.",
        "type": {
          "names": [
            "string"
          ]
        }
      },
      {
        "name": "value",
        "description": "The new value to set the property to.",
        "type": {
          "names": [
            "any"
          ]
        }
      }
    ]
  },
  {
    "id": "oj-c.Switch#getProperty",
    "name": "getProperty",
    "memberof": "oj-c.Switch",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "kind": "function",
    "longname": "oj-c.Switch#getProperty",
    "scope": "instance",
    "returns": [
      {
        "type": {
          "names": [
            "any"
          ]
        }
      }
    ],
    "ojshortdesc": "Retrieves the value of a property or a subproperty.",
    "description": "Retrieves the value of a property or a subproperty.",
    "params": [
      {
        "name": "property",
        "description": "The property name to get. Supports dot notation for subproperty access.",
        "type": {
          "names": [
            "string"
          ]
        }
      }
    ]
  },
  {
    "id": "oj-c.Switch#setProperties",
    "name": "setProperties",
    "memberof": "oj-c.Switch",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "kind": "function",
    "longname": "oj-c.Switch#setProperties",
    "scope": "instance",
    "returns": [
      {
        "type": {
          "names": [
            "void"
          ]
        }
      }
    ],
    "ojshortdesc": "Performs a batch set of properties.",
    "description": "Performs a batch set of properties.",
    "params": [
      {
        "name": "properties",
        "description": "An object containing the property and value pairs to set.",
        "type": {
          "names": [
            "object"
          ]
        }
      }
    ]
  },
  {
    "id": "oj-c.Switch.touchDoc",
    "name": "touchDoc",
    "kind": "member",
    "longname": "oj-c.Switch.touchDoc",
    "description": "<table class=\"keyboard-table\">\n  <thead>\n    <tr>\n      <th>Target</th>\n      <th>Gesture</th>\n      <th>Action</th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <td>Switch</td>\n      <td><kbd>Tap</kbd></td>\n      <td>Toggles the switch value.</td>\n    </tr>\n  </tbody>\n</table>",
    "memberof": "oj-c.Switch",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "ojfragment": true
  },
  {
    "id": "oj-c.Switch.keyboardDoc",
    "name": "keyboardDoc",
    "kind": "member",
    "longname": "oj-c.Switch.keyboardDoc",
    "description": "<table class=\"keyboard-table\">\n  <thead>\n    <tr>\n      <th>Target</th>\n      <th>Key</th>\n      <th>Action</th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <td>Switch</td>\n      <td><kbd>Tab In</kbd></td>\n      <td>Sets focus to the switch.</td>\n    </tr>\n    <tr>\n      <td>Switch</td>\n      <td><kbd>Space</kbd> or <kbd>Enter</kbd></td>\n      <td>Toggles the switch value.</td>\n    </tr>\n  </tbody>\n</table>",
    "memberof": "oj-c.Switch",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "ojfragment": true
  },
  {
    "id": "oj-c.Switch#aria-describedby",
    "name": "aria-describedby",
    "memberof": "oj-c.Switch",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "kind": "member",
    "longname": "oj-c.Switch#aria-describedby",
    "observedGlobalProp": true,
    "scope": "instance",
    "type": {
      "names": [
        "string"
      ]
    },
    "optional": true,
    "description": "Identifies the element (or elements) that describes the switch."
  },
  {
    "id": "oj-c.Switch#id",
    "name": "id",
    "memberof": "oj-c.Switch",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "kind": "member",
    "longname": "oj-c.Switch#id",
    "observedGlobalProp": true,
    "scope": "instance",
    "type": {
      "names": [
        "string"
      ]
    },
    "optional": true,
    "description": "Unique identifier for the component."
  },
  {
    "id": "oj-c.Switch.DisplayOptionsProps",
    "name": "DisplayOptionsProps",
    "kind": "typedef",
    "memberof": "oj-c.Switch",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "longname": "oj-c.Switch.DisplayOptionsProps",
    "type": {
      "names": [
        "Object"
      ]
    },
    "scope": "static",
    "description": "Display options for auxiliary content that determines whether or not it should be displayed.",
    "properties": [
      {
        "name": "messages",
        "description": "Display options for auxiliary message text.",
        "optional": true,
        "type": {
          "names": [
            "\"none\"",
            "\"display\""
          ]
        },
        "defaultvalue": "'display'"
      }
    ]
  },
  {
    "id": "oj-c.Switch.Help",
    "name": "Help",
    "kind": "typedef",
    "memberof": "oj-c.Switch",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "longname": "oj-c.Switch.Help",
    "type": {
      "names": [
        "Object"
      ]
    },
    "scope": "static",
    "description": "Form component help information.",
    "properties": [
      {
        "name": "instruction",
        "description": "A type of user assistance text. User assistance text is used to provide guidance to\nhelp the user understand what data to enter or select.",
        "optional": true,
        "type": {
          "names": [
            "string"
          ]
        },
        "defaultvalue": "''"
      }
    ]
  },
  {
    "id": "oj-c.Switch.HelpHints",
    "name": "HelpHints",
    "kind": "typedef",
    "memberof": "oj-c.Switch",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "longname": "oj-c.Switch.HelpHints",
    "type": {
      "names": [
        "Object"
      ]
    },
    "scope": "static",
    "description": "The helpHints object contains a definition property and a source property.",
    "properties": [
      {
        "name": "definition",
        "description": "A type of user assistance text. User assistance text is used to provide guidance to help\nthe user understand what data to enter or select. help-hints could come from a help system.",
        "optional": true,
        "type": {
          "names": [
            "string"
          ]
        },
        "defaultvalue": "''"
      },
      {
        "name": "source",
        "description": "Help source URL associated with the component.",
        "optional": true,
        "type": {
          "names": [
            "string"
          ]
        },
        "defaultvalue": "''"
      },
      {
        "name": "sourceText",
        "description": "Custom text to be used for the source link.",
        "optional": true,
        "type": {
          "names": [
            "string"
          ]
        },
        "defaultvalue": "''"
      }
    ]
  },
  {
    "id": "oj-c.Switch.ComponentMessageItem",
    "name": "ComponentMessageItem",
    "kind": "typedef",
    "memberof": "oj-c.Switch",
    "meta": {
      "filename": "switch.tsx",
      "path": "web/components/oj-c/switch"
    },
    "longname": "oj-c.Switch.ComponentMessageItem",
    "type": {
      "names": [
        "Object"
      ]
    },
    "scope": "static",
    "description": "A type for a single component message",
    "properties": [
      {
        "name": "summary",
        "optional": true,
        "type": {
          "names": [
            "string"
          ]
        }
      },
      {
        "name": "detail",
        "optional": true,
        "type": {
          "names": [
            "string"
          ]
        }
      },
      {
        "name": "severity",
        "optional": true,
        "type": {
          "names": [
            "\"error\"",
            "\"confirmation\"",
            "\"info\"",
            "\"warning\""
          ]
        }
      }
    ]
  }
]