@nextcloud/vue
Version:
Nextcloud vue components
69 lines (68 loc) • 2.23 kB
TypeScript
import { Slot } from 'vue';
type __VLS_Props = {
/**
* The aria label to describe the navigation
*/
ariaLabel?: string;
/**
* aria-labelledby attribute to describe the navigation
*/
ariaLabelledby?: string;
};
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: Readonly<{
/**
* The main content of the navigation.
* If no list is passed to the `#list` slot, stretched vertically.
*/
default?: Slot;
/**
* Footer for e.g. `NcAppNavigationSettings`
*/
footer?: Slot;
/**
* List for Navigation list items.
* Stretched between the main content and the footer
*/
list?: Slot;
/**
* For in-app search you can pass a `NcAppNavigationSearch` component as the slot content.
*/
search?: Slot;
}> & {
/**
* The main content of the navigation.
* If no list is passed to the `#list` slot, stretched vertically.
*/
default?: Slot;
/**
* Footer for e.g. `NcAppNavigationSettings`
*/
footer?: Slot;
/**
* List for Navigation list items.
* Stretched between the main content and the footer
*/
list?: Slot;
/**
* For in-app search you can pass a `NcAppNavigationSearch` component as the slot content.
*/
search?: Slot;
};
refs: {
appNavigationContainer: HTMLDivElement;
};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
appNavigationContainer: HTMLDivElement;
}, HTMLDivElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};