我正在尝试将下面的代码AngularJS 1.6转换成聚合物2.0for ( int i=0; i<=10; i++ ) // call rest service for Rates //do some processing here}for ( int i=0; i<=10; i++ ) // call rest service for Rates
this.$.rate
我使用Polymer1完成了以下操作。在Polymer2.0中这样做不会触发button的自动下拉菜单。有人能告诉我该怎么做吗。这似乎与Shadow DOM有关。在Polymer1中,index.html有dom ='shadow'和一个<content>标记,而不是<slot>,它到达dReadyDynamicRightMenuReady并触发下拉列表。但是在Polymer2.0中,它也会用到这个函数,并且不会触发下拉列表。
<!-- this is in my-spxl
当我安装纸张工具栏时,当我使用Polayer2.0时,我总是在PolymerCLI中得到这个1) polymer#^1.2.0 which resolved to 1.8.1 and is requiredby paper-toolbar#1.1.7
2) polymer#^1.1.0 which resolved to 1.8.1 and