而导出高图表V9.1.1从全屏与选项打印抛出错误的控制台。
accessibility.src.js:431 Uncaught TypeError: a.hasAttribute is not a function
at accessibility.src.js:431
at NodeList.forEach (<anonymous>)
at l (accessibility.src.js:430)
at l (accessibility.src.js:436)
at l (accessibility.src.js:436)
at l
我一直在努力实例化js库,然后调用initiate object>方法调用。
我必须像这样启动js库吗?
var objInstance = new banner.BannerLib({
‘name’: ‘topBanner’,
‘size’: 30,
‘color’: ‘red’
}); // how will be the structure of banner, and bannerlib is constructor?
那就像这样打电话?
objInstance.show();//将在banner中显示方法,如何在banner中定义?
问: 1. banner的lib/函数