更新时间:2024-06-17 GMT+08:00
分享

magno对象预置API一览表

表1 magno对象预置API一览表

API

API说明

savePropertiesForWidget()

用于在开发态中保存当前组件的高级设置属性信息。

savePropertiesForWidget()

该API用于在开发态中,保存当前组件的高级设置属性信息。

/*
 * @param {*} props {}
 */
magno.savePropertiesForWidget({ // 属性应该与editor.js中的属性对应
    barChartProps: JSON.stringify(_this.barPropList),
    barCommProps: JSON.stringify(_this.barCommProps)
});

属性值需要是String,如果为对象形式则需要做String转换。

分享:

    相关文档

    相关产品