我需要从父组件到子组件的触发事件,例如broadcast
AngularJS 中的方法。在 RactiveJS 中怎么可能?
PS: For example i have a tabs with different content includes components, when tabs renders only one tab active(visible) other tabs are hidden. 当我选择其他选项卡时,它会变为活动状态并显示内容。此时选项卡应该refresh
向下发送事件到子组件,让他们知道他们必须初始化或刷新(因为当它被隐藏时它无法正确初始化)。