For AI agents: the complete documentation index is available at https://types-mediawiki-response.pages.dev/llms.txt, the full documentation bundle is available at https://types-mediawiki-response.pages.dev/llms-full.txt, and this page is available as Markdown at https://types-mediawiki-response.pages.dev/api/core/ApiCodexIconDefinition.md.
  • English
  • Interface: ApiCodexIconDefinition

    Defined in: core/query/codexicons.ts:13

    Directionality/language-aware icon definition (object form of ApiCodexIcon).

    Properties

    default?

    optional default?: string

    Defined in: core/query/codexicons.ts:15

    SVG markup used when no direction-specific variant applies.


    langCodeMap?

    optional langCodeMap?: Record<string, string>

    Defined in: core/query/codexicons.ts:30

    Language-specific SVG markup, keyed by language code.


    ltr?

    optional ltr?: string

    Defined in: core/query/codexicons.ts:18

    SVG markup for left-to-right contexts.


    rtl?

    optional rtl?: string

    Defined in: core/query/codexicons.ts:21

    SVG markup for right-to-left contexts.


    shouldFlip?

    optional shouldFlip?: boolean

    Defined in: core/query/codexicons.ts:24

    Whether the icon should be flipped in right-to-left contexts.


    shouldFlipExceptions?

    optional shouldFlipExceptions?: string[]

    Defined in: core/query/codexicons.ts:27

    Languages excluded from flipping, e.g. ["he", "yi"].