Repository URL to install this package:
|
Version:
0.0.3 ▾
|
/**
* @todo probably would make more sense as a class, standard
*/
export interface HeaderState {
isMenuVisible: boolean;
isMenuDropDownVisible: boolean;
isSearchMenuVisible: boolean;
isTopHeaderVisible: boolean;
setIsMenuVisible: (visibility: boolean) => void;
setIsMenuDropDownVisible: (visibility: boolean) => void;
setIsSearchMenuVisible: (visibility: boolean) => void;
hide: () => void;
show: () => void;
handleClickBoundary: (event: Event, element: Element) => void;
handleMenuDropDownToggle: () => void;
handleShowDepartments: () => void;
handleMenuToggle: () => void;
handleShowMobileMenu: () => void;
setMenuDropDownVisibility: () => void;
}
declare const state: HeaderState;
declare function handleMenuToggle(): void;
declare function handleMenuDropDownToggle(): void;
declare function handleShowMobileMenu(): void;
/**
* @todo handle this and handle close here?
*/
declare function handleShowDepartments(): void;
export default state;
export { state, handleMenuDropDownToggle, handleShowDepartments, handleShowMobileMenu, handleMenuToggle, };