Skip to content

schema ​

schema基础 ​

https://formkit.com/zh/essentials/schema

基础用法 ​

简单布局 ​

根据其它节点的值计算动态属性 ​

首先给“被访问节点”添加id属性,通过$get方法获取节点实例。

案例1 ​

下面案例将“a”的值作为“b”的label。

案例2 ​

“b”的label为”b-“和”a“的值拼接。

案例3 ​

”a“的值为”h“时,“b”的label为”hh“,否则为”b“。

根据其它节点的值控制显隐 ​

案例1 ​

案例2 ​

Released under the MIT License.