集成项目

集项(项目)

设置项目输入助手

参数:

名称 类型 描述性
项名 数组

定义数组输入帮助者项对象内含输入助手所有项目

返回时间 :

方法不返回数据

实例

拷贝代码
{     var items = [         { text: "Name1.Family1", id : "0" },         { text: "Name2.Family2", id : "1" },         { text: "Name3.Family3", id : "2" },         { text: "Name4.Family4", id : "3" },         { text: "Name5.Family5", id : "4" },         { text: "Name6.Family6", id : "5" },         { text: "Name7.Family7", id : "6" },         { text: "Name8.Family8", id : "7" },         { text: "Name9.Family9", id : "8" },         { text: "Name10.Family10", id : "9" },         { text: "Name11.Family11", id : "10" },         { text: "Name12.Family12", id : "11" },         { text: "Name13.Family13", id : "12" }     ]!window.Asc.plugin.getInputHelper().setItems(items)!var_sizes = getInput帮助者Sizewindow.Asc.plugin.getInputHelper().show(_sizes.w, _sizes.h, true)!}