NEWCKEditor AI on your premises: Hook your LLM and register MCP tools. Webinar coming soon!
Sign up (with export icon)

ui/colorpicker/colorpickerview

Api-module iconmodule

Classes

Type Definitions

Functions

  • Chevron-right icon

    tryParseHexColor( color ) → ` | null
    internal

    Trim spaces from provided color and check if hex is valid.

    Type parameters

    S : extends string

    Parameters

    color : S | null | undefined

    Unsafe color string.

    Returns

    ` | null

    Null if provided color is not hex value.