Add API to send visibiliy actions to widgets
This commit is contained in:
parent
746eeee33c
commit
4b6378a80d
2 changed files with 14 additions and 0 deletions
|
@ -394,6 +394,10 @@ export default class AppTile extends React.Component {
|
|||
}).catch((err) => {
|
||||
console.log(`Failed to get capabilities for widget type ${this.props.type}`, this.props.id, err);
|
||||
});
|
||||
|
||||
// Allow parents to access widget messaging
|
||||
if (this.props.collectWidgetMessaging) this.props.collectWidgetMessaging(this.widgetMessaging);
|
||||
|
||||
this.setState({loading: false});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue