@farris/ui-vue
Version:
Farris Vue, a Farris Design based Vue3 component library.
53 lines (52 loc) • 1.66 kB
TypeScript
/**
* Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Drawer 抽屉 组件。
*
* @example
* ```vue
* <template>
* <f-button @click="openDrawer">打开抽屉</f-button>
* <f-drawer v-model="open" title="右侧标题">
* <template #content>
* 右侧打开内容如下:我是一个抽屉组件
* </template>
* <template #footerTemplate>
* <f-button>确定</f-button>
* </template>
* </f-drawer>
* </template>
* <script lang="ts" setup>
* import { ref } from 'vue';
*
* const open = ref(false);
*
* const openDrawer = () => {
* open.value = true;
* };
* </script>
* ```
*
* @public
*/
declare const _default: import("vue").DefineComponent<{
[x: string]: any;
}, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
[x: string]: any;
}> & Readonly<{}>, {
[x: string]: any;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;