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

0.0.19 • Public • Published

@ibiz/drawer

简介

@ibiz/drawer 是IBiz前端团队根据业务需要封装的一个飘窗组件,项目直接可用。

安装

yarn  add  @ibiz/drawer

快速开始

import { DrawerController } from '@ibiz/drawer';

// 初始化飘窗控制器实例
const ref = await DrawerController.present({
    caption: view.title,
    overlayIndex: zIndex,
    componentProps: { store: this.store, i18n: this.i18n,router:this.router, propsData: { dynamicProps, staticProps } },
});
// 等待飘窗实例关闭并返回数据
const result = await DrawerController.dismiss(ref);

API

ibz/drawer

ibz/drawer-exp

关于我们

Readme

Keywords

none

Package Sidebar

Install

npm i @ibiz/drawer

Weekly Downloads

278

Version

0.0.19

License

MIT

Unpacked Size

1.24 MB

Total Files

58

Last publish

Collaborators

  • lengyuace
  • zhangpingchuan
  • neko-chilyann
  • ibizsys