Polymer 2-自定义事件中的Updatestyles

Polymer 2-自定义事件中的Updatestyles,polymer,internet-explorer-11,polymer-2.x,Polymer,Internet Explorer 11,Polymer 2.x,尝试在自定义事件中更新样式 这适用于Chrome,但不适用于IE11 我猜IE上的范围与chrome有所不同 谢谢你的帮助 _handleMaximiseTap(e) { this.updateStyles({ '--table-grid-height': 'calc(100vh - 9.5rem)' }) }

尝试在自定义事件中更新样式 这适用于Chrome,但不适用于IE11

我猜IE上的范围与chrome有所不同

谢谢你的帮助

_handleMaximiseTap(e) {
  this.updateStyles({
    '--table-grid-height': 'calc(100vh - 9.5rem)'
  })
}