2016-07-14 80 views

回答

0

看起來這可能是WebComponents填充中的一個錯誤。我發現這個問題的解決方法是在組件上使用setAttribute(),而不是直接分配。換句話說,component.setAttribute('active', true)而不是component.active = true