Found a solution, using createWidgetFrom and importing header widget:
import {
default as header
} from "discourse/widgets/header";
So that made me able to access the action method toggleSearchMenu scope.
Found a solution, using createWidgetFrom and importing header widget:
import {
default as header
} from "discourse/widgets/header";
So that made me able to access the action method toggleSearchMenu scope.