primevue-mirror/components/dataviewlayoutoptions/DataViewLayoutOptions.d.ts

59 lines
1.6 KiB
TypeScript
Raw Normal View History

2023-03-03 13:17:50 +00:00
/**
*
* The helper DataViewLayoutOptions component can be used to switch between the modes however this component is optional and you may use your own UI to switch modes as well.
*
* [Live Demo](https://www.primevue.org/dataview/)
*
* @module dataviewlayoutoptions
*
*/
2022-09-06 12:03:37 +00:00
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
2023-03-03 13:17:50 +00:00
/**
* Defines valid properties in DataViewLayoutOptions component.
*/
2022-09-06 12:03:37 +00:00
export interface DataViewLayoutOptionsProps {
/**
* Value of the component.
*/
modelValue?: string | undefined;
}
2023-03-03 13:17:50 +00:00
/**
* Defines valid propslotserties in DataViewLayoutOptions component.
*/
2022-09-14 11:26:01 +00:00
export interface DataViewLayoutOptionsSlots {}
2022-09-06 12:03:37 +00:00
2023-03-03 13:17:50 +00:00
/**
* Defines valid emits in DataViewLayoutOptions component.
*/
export interface DataViewLayoutOptionsEmits {
2022-09-06 12:03:37 +00:00
/**
* Emitted when the value changes.
* @param {*} value - New value.
*/
2023-03-03 13:17:50 +00:00
'update:modelValue'(value: string): void;
}
2022-09-06 12:03:37 +00:00
2023-03-03 13:17:50 +00:00
/**
* **PrimeVue - DataViewLayoutOptions**
*
* _The helper DataViewLayoutOptions component can be used to switch between the modes however this component is optional and you may use your own UI to switch modes as well._
*
* [Live Demo](https://www.primevue.org/dataview/)
* --- ---
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
*
* @group Component
*
*/
2022-09-14 11:26:01 +00:00
declare class DataViewLayoutOptions extends ClassComponent<DataViewLayoutOptionsProps, DataViewLayoutOptionsSlots, DataViewLayoutOptionsEmits> {}
2022-09-06 12:03:37 +00:00
declare module '@vue/runtime-core' {
interface GlobalComponents {
2022-09-14 11:26:01 +00:00
DataViewLayoutOptions: GlobalComponentConstructor<DataViewLayoutOptions>;
2022-09-06 12:03:37 +00:00
}
}
export default DataViewLayoutOptions;