Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/packages / features / Header / state.d.ts
Size: Mime:
/**
 * @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, };