Type Alias TJSMenuData
TJSMenuData : {
efx?: Function;
items?: Iterable<TJSMenuItemData>;
keyCode?: string;
offset?: {
x?: number;
y?: number;
};
slotAfter?: {
class: Function;
props?: object;
};
slotBefore?: {
class: Function;
props?: object;
};
slotDefault?: {
class: Function;
props?: object;
};
styles?: {
[key: string]: string | null;
};
transitionOptions?: {
duration: number;
easing: EasingReference;
};
}
efx?: Function;
items?: Iterable<TJSMenuItemData>;
keyCode?: string;
offset?: {
x?: number;
y?: number;
};
slotAfter?: {
class: Function;
props?: object;
};
slotBefore?: {
class: Function;
props?: object;
};
slotDefault?: {
class: Function;
props?: object;
};
styles?: {
[key: string]: string | null;
};
transitionOptions?: {
duration: number;
easing: EasingReference;
};
}
Type declaration
Optional
efx?: FunctionOptional
items?: Iterable<TJSMenuItemData>The data driven menu items.
Optional
keyCode ?: stringThe key code to activate menu items.
Optional
offset?: {
x?: number;
y?: number;
}Optional X / Y offsets for the menu display.
Optional
x?: numberOptional
y?: number
Optional
slotAfter ?: {
class: Function;
props?: object;
}A minimal Svelte config defining a menu item component after the main data driven menu items.
class: Function
Optional
props?: object
Optional
slotBefore ?: {
class: Function;
props?: object;
}A minimal Svelte config defining a menu item component before the main data driven menu items.
class: Function
Optional
props?: object
Optional
slotDefault ?: {
class: Function;
props?: object;
}A minimal Svelte config defining the default content component replacing the data driven menu items.
class: Function
Optional
props?: object
Optional
styles?: {
[key: string]: string | null;
}Styles to be applied inline.
[key: string]: string | null
Optional
transitionOptions ?: {
duration: number;
easing: EasingReference;
}Custom transition options for duration and easing function reference. The default easing function is
quintOut
.duration: number
easing: EasingReference
Currently unused; for any future action effects.