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