|
|
@ -1,3 +1,9 @@ |
|
|
|
|
|
|
|
/* |
|
|
|
|
|
|
|
* https://github.com/morethanwords/tweb
|
|
|
|
|
|
|
|
* Copyright (C) 2019-2021 Eduard Kuzmenko |
|
|
|
|
|
|
|
* https://github.com/morethanwords/tweb/blob/master/LICENSE
|
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
import { AttachClickOptions, cancelEvent, CLICK_EVENT_NAME } from "../helpers/dom"; |
|
|
|
import { AttachClickOptions, cancelEvent, CLICK_EVENT_NAME } from "../helpers/dom"; |
|
|
|
import ListenerSetter from "../helpers/listenerSetter"; |
|
|
|
import ListenerSetter from "../helpers/listenerSetter"; |
|
|
|
import ButtonIcon from "./buttonIcon"; |
|
|
|
import ButtonIcon from "./buttonIcon"; |
|
|
@ -36,4 +42,4 @@ const ButtonMenuToggleHandler = (el: HTMLElement, onOpen?: (e: Event) => void, o |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
export { ButtonMenuToggleHandler }; |
|
|
|
export { ButtonMenuToggleHandler }; |
|
|
|
export default ButtonMenuToggle; |
|
|
|
export default ButtonMenuToggle; |
|
|
|