Skip to main content
Version: 2.x

API Reference > @next-core/brick-types > ContextConf > if

ContextConf.if property

条件配置,根据 if 的计算结果来决定是否启用该上下文。不适用于绑定构件属性的数据。

Signature:

if?: string | boolean;