smdm-slide-menu
Version:
A library agnostic multilevel page menu with a smooth slide effect based on CSS transitions, focused on accessibility.
34 lines (31 loc) • 713 B
text/typescript
import {
SlideMenuOptions,
MenuPosition,
Direction,
Action,
CLASSES,
} from './lib/SlideMenuOptions.js';
import { Slide } from './lib/Slide.js';
import { SlideMenu, MenuHTMLElement } from './lib/SlideMenu.js';
import { AnimationController } from './lib/AnimationController.js';
import { KeyboardController } from './lib/KeyboardController.js';
import type {
KeyboardControllerOptions,
KeyboardControllerCallbacks,
} from './lib/KeyboardController.js';
export {
MenuPosition,
Direction,
Action,
CLASSES,
Slide,
SlideMenu,
AnimationController,
KeyboardController,
};
export type {
SlideMenuOptions,
MenuHTMLElement,
KeyboardControllerOptions,
KeyboardControllerCallbacks,
};