如何获得Polymer Component的offsetWidth

时间:2016-08-25 17:51:32

标签: polymer-1.0 lifecycle offsetwidth

我正在尝试将两个自定义组件的offsetWidth放在另一个组件中。我尝试过的所有内容都返回值0.在生命周期的attached阶段,我需要的信息似乎没有准备好。一种方法可能是使用iron-resizable-behavior,但这看起来很糟糕。

0 个答案:

没有答案