Interface: Directives
Per-hanja rendering directives that override the dictionary's own marks.
Each list contains hanja forms (exact string matches, e.g. "漢字").
JavaScript bindings expose only the literal-set form; glob and predicate
variants are available in the Rust API only.
Corresponds to Rust UserDirectives with DirectiveAction::RequireHanja,
DirectiveAction::RequireHangul, and DirectiveAction::SkipAnnotation.
Properties
requireHangul?
readonlyoptionalrequireHangul?: readonlystring[]
Hanja forms that must always be shown with a hangul gloss alongside the
original hanja (relevant for rendering: "original").
requireHanja?
readonlyoptionalrequireHanja?: readonlystring[]
Hanja forms that must always be shown with their original hanja
alongside the hangul reading, as if requireHanja were set in the
dictionary.
skipAnnotation?
readonlyoptionalskipAnnotation?: readonlystring[]
Hanja forms whose annotation should be suppressed entirely; the renderer
emits only the primary plain text form (hangul or hanja depending on
rendering).