@ibiz/drawer-vue
TypeScript icon, indicating that this package has built-in type declarations

0.0.19 • Public • Published

@ibiz/drawer-vue

简介

@ibiz/drawer-vue 是IBiz前端团队根据业务需要,为适配动态模板飘窗容器对@ibiz/drawer再次封装,IBiz R7前端动态模板项目直接可用。

安装

yarn  add  @ibiz/drawer-vue

快速开始

import { DrawerController, DrawerContainer } from '@ibiz/drawer-vue';

// 初始化飘窗控制器实例
const ref = await DrawerController.present({
    caption: view.title,
    overlayIndex: zIndex,
    // 适配动态模板飘窗容器
    component: DrawerContainer as any,
    componentProps: { store: this.store, i18n: this.i18n,router:this.router, propsData: { dynamicProps, staticProps } },
});

// 等待飘窗实例关闭并返回数据
const result = await DrawerController.dismiss(ref);

@ibiz/drawer

@ibiz/drawer

关于我们

Readme

Keywords

none

Package Sidebar

Install

npm i @ibiz/drawer-vue

Weekly Downloads

31

Version

0.0.19

License

MIT

Unpacked Size

130 kB

Total Files

29

Last publish

Collaborators

  • lengyuace
  • zhangpingchuan
  • neko-chilyann
  • ibizsys