MLightCAD
    Preparing search index...
    • Resolves the active UI theme from a host element or the document.

      Lookup order:

      1. Nearest ancestor with data-ml-ui-theme
      2. document.documentElement attribute
      3. html.dark class (Element Plus / cad-viewer)
      4. Defaults to 'light'

      Parameters

      • Optionalfrom: HTMLElement | null

        Optional element to start ancestor walk from

      Returns AcEdUiTheme