Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function push(params) {
UIEvents.emit(NAVIGATION_PUSH, params);
}
handleOnClick = () => {
UIEvents.emit(TOGGLE_SEARCH, true);
}
subscribe(streams.toggleNavigatorCart$, ({ action }) => {
UIEvents.emit(TOGGLE_NAVIGATOR_CART, action.visible);
});
static setLoading(path) {
UIEvents.emit(LoadingProvider.SET, path);
}
subscribe(streams.toggleNavigatorTitle$, ({ action }) => {
UIEvents.emit(TOGGLE_NAVIGATOR_TITLE, action.visible);
});
static unsetLoading(path) {
UIEvents.emit(LoadingProvider.UNSET, path);
}
static close = () => {
UIEvents.emit(CLOSE);
}
static hide = () => {
UIEvents.emit(HIDE_TAB_BAR);
}
showSearch = () => {
UIEvents.emit(TOGGLE_SEARCH);
}
export function replace(params) {
UIEvents.emit(NAVIGATION_REPLACE, params);
}