import {DropdownGroup} from './DropdownGroup'; /** * This interface describes the options controlling the creation of dropdown menus. */ export class DropdownCreationOptions { /** * A unique identifier for the dropdown that will be referenced in events. */ dropdownId: string; /** * Time to wait (in ms) before starting fadeout animation (ignored if fadeout==false). */ dropdownGroups: [DropdownGroup]; constructor( dropdownId: string, dropdownGroups: [DropdownGroup]) { this.dropdownId = dropdownId; this.dropdownGroups = dropdownGroups; } }