Skip to content

@idealworld/formula-editor v0.6.2 / iwInterface / Namespace

Interface: Namespace

Material namespace

Used to distinguish different materials, such as fields, functions, etc.

Properties

color?

optional color: string

Used to distinguish different namespaces by color

Source

processes/interface.ts:145


isVar

isVar: boolean

Whether all items under this namespace are variables

When it is true, it is a variable; when it is false, it is a function.

Source

processes/interface.ts:151


items

items: VarInfo[] | FunInfo[]

All items in the namespace

Source

processes/interface.ts:167


label

label: string

Namespace display name

Source

processes/interface.ts:141


name

name: string

Namespace name

This field will serve as a unique identifier for the namespace

Source

processes/interface.ts:137


showField?

optional showField: boolean

Whether to display field in field management

Use Namespace#label when true, use Namespace#name when false

Source

processes/interface.ts:163


showLabel

showLabel: boolean

Whether to use display names in the formula editor

Use Namespace#label when true, use Namespace#name when false

Source

processes/interface.ts:157