2018-03-07 01:26:43 +00:00
|
|
|
export const DROPDOWN_MENU_OPEN = 'DROPDOWN_MENU_OPEN';
|
|
|
|
export const DROPDOWN_MENU_CLOSE = 'DROPDOWN_MENU_CLOSE';
|
|
|
|
|
2020-07-09 14:09:19 +01:00
|
|
|
export function openDropdownMenu(id, placement, keyboard, scroll_key) {
|
|
|
|
return { type: DROPDOWN_MENU_OPEN, id, placement, keyboard, scroll_key };
|
2018-03-07 01:26:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export function closeDropdownMenu(id) {
|
|
|
|
return { type: DROPDOWN_MENU_CLOSE, id };
|
|
|
|
}
|