primevue
Version:
PrimeVue is a premium UI library for Vue featuring a rich set of 90+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeBlock, wh
138 lines (126 loc) • 4 kB
TypeScript
/**
*
* GalleryThumbnailContent is the inner scroll-snap track of `GalleryThumbnail`. It hosts the
* `GalleryThumbnailItem` children. By default it renders as `CarouselContent`.
*
* [Live Demo](https://www.primevue.dev/gallery/)
*
* @module gallerythumbnailcontent
*
*/
import type { DefineComponent, DesignToken, EmitFn, PassThrough } from '@primevue/core';
import type { ComponentHooks } from '@primevue/core/basecomponent';
import type { PassThroughOptions } from 'primevue/passthrough';
import type { Component, VNode } from 'vue';
export declare type GalleryThumbnailContentPassThroughOptionType =
GalleryThumbnailContentPassThroughAttributes | ((options: GalleryThumbnailContentPassThroughMethodOptions) => GalleryThumbnailContentPassThroughAttributes | string) | string | null | undefined;
/**
* Custom passthrough(pt) option method.
*/
export interface GalleryThumbnailContentPassThroughMethodOptions {
/**
* Defines instance.
*/
instance: any;
/**
* Defines valid properties.
*/
props: GalleryThumbnailContentProps;
/**
* Defines valid attributes.
*/
attrs: any;
/**
* Defines parent options.
*/
parent: any;
/**
* Defines passthrough(pt) options in global config.
*/
global: object | undefined;
}
/**
* Custom passthrough(pt) options.
* @see {@link GalleryThumbnailContentProps.pt}
*/
export interface GalleryThumbnailContentPassThroughOptions {
/**
* Used to pass attributes to the root's DOM element.
*/
root?: GalleryThumbnailContentPassThroughOptionType;
/**
* Used to manage all lifecycle hooks.
*/
hooks?: ComponentHooks;
}
/**
* Custom passthrough attributes for each DOM elements.
*/
export interface GalleryThumbnailContentPassThroughAttributes {
[key: string]: any;
}
/**
* Defines valid properties in GalleryThumbnailContent component.
*/
export interface GalleryThumbnailContentProps {
/**
* Use to change the rendered element. Defaults to `CarouselContent` to inherit the scroll-snap track.
* @defaultValue CarouselContent
*/
as?: string | Component | undefined;
/**
* When enabled, it changes the default rendered element for the one passed as a child element.
* @defaultValue false
*/
asChild?: boolean | undefined;
/**
* It generates scoped CSS variables using design tokens for the component.
*/
dt?: DesignToken<any>;
/**
* Used to pass attributes to DOM elements inside the component.
*/
pt?: PassThrough<GalleryThumbnailContentPassThroughOptions>;
/**
* Used to configure passthrough(pt) options of the component.
*/
ptOptions?: PassThroughOptions;
/**
* When enabled, it removes component related styles in the core.
* @defaultValue false
*/
unstyled?: boolean;
}
/**
* Defines valid slots in GalleryThumbnailContent component.
*/
export interface GalleryThumbnailContentSlots {
/**
* Container for `GalleryThumbnailItem` children.
*/
default(): VNode[];
}
/**
* Defines valid emits in GalleryThumbnailContent component.
*/
export interface GalleryThumbnailContentEmitsOptions {}
export declare type GalleryThumbnailContentEmits = EmitFn<GalleryThumbnailContentEmitsOptions>;
/**
* **PrimeVue - GalleryThumbnailContent**
*
* _GalleryThumbnailContent is a helper component for Gallery component._
*
* [Live Demo](https://www.primevue.dev/gallery/)
* --- ---
* 
*
* @group Component
*
*/
declare const GalleryThumbnailContent: DefineComponent<GalleryThumbnailContentProps, GalleryThumbnailContentSlots, GalleryThumbnailContentEmits>;
declare module 'vue' {
export interface GlobalComponents {
GalleryThumbnailContent: DefineComponent<GalleryThumbnailContentProps, GalleryThumbnailContentSlots, GalleryThumbnailContentEmits>;
}
}
export default GalleryThumbnailContent;