misham
(Mykhailo)
23. Dezember 2022 um 15:15
1
Hi! I`m trying to mount a widget in a raw hbs template
<MountWidget @widget="header-notifications" @args={{this.currentUser}}/>
but an error is thrown. I think it is so because I’ve added incorrect args, but I don’t know how to add it correct way, can you help how to add so the widget would work
1 „Gefällt mir“
misham
(Mykhailo)
23. Dezember 2022 um 15:17
2
Do this like this
<MountWidget @widget="header-notifications" @args={{hash user=this.currentUser}}/>
1 „Gefällt mir“
system
(system)
Geschlossen,
22. Januar 2023 um 15:17
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.