EConfigProvider Config provider
Examples
Local language and nested configuration
Config provider
Properties
buttonvarDefault option object for the corresponding component; descendants inherit from the nearest provider.
Fields:
autoInsertSpace, dashed, plain
round, text, type
({})cardvarDefault option object for the corresponding component; descendants inherit from the nearest provider.
Fields:
shadow
({})dialogvarDefault option object for the corresponding component; descendants inherit from the nearest provider.
Fields:
alignCenter, draggable, overflow
({})disabledboolDisable controls in this configuration scope or form.
falseemptyValuesvarValues treated as empty; includes undefined, null and the empty string by default.
Inherited; default [undefined, null, ""]enabledboolAllow interaction; false disables the control.
!disabledheightrealComponent size in pixels; may be bound to its parent layout.
implicitHeightlinkvarDefault ELink option object.
Fields:
type, underline
({})localevarLanguage code or a local locale object containing name and texts.
Language name (e.g. zh / en)
Object fields: name, texts
nullmessagevarDefault option object for the corresponding component; descendants inherit from the nearest provider.
Fields:
duration, grouping, max
offset, placement, plain
showClose
({})sizeintControl size; inherits the nearest EConfigProvider by default.
EStyle.SmallEStyle.MediumEStyle.Large
Inherited; EStyle.Medium by defaulttablevarDefault option object for the corresponding component; descendants inherit from the nearest provider.
Fields:
showOverflowTooltip, tooltipEffect, tooltipFormatter
tooltipOptions
({})valueOnClearvarValue after clearing, or a function returning it; inherits configuration by default.
undefinedvisibleboolWhether the component is visible.
truewidthrealComponent size in pixels; may be bound to its parent layout.
implicitWidthzIndexintOverlay or watermark stacking order.
EControlConfig.valueFor(control, "zIndex", 0)effectiveLocalevarRead onlyResolved locale settings for this scope.
Language name or { name, texts }
Computed at runtimeeuiConfigProviderboolRead onlyRead-only marker identifying a configuration provider.
Computed at runtimelanguagestringRead onlyResolved language code in the current configuration scope.
Computed at runtimelocalizedTextsvarRead onlyMerged localized text object for the configuration scope.
Computed at runtime