0.1.7 • Published 4 years ago

@bpui/component-utils v0.1.7

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago
export module mask {
  /**
  * @desc: 当前页面的modal层数量.
  */
  export function getWidgetLength():number;

  /**
  * @desc: Modal层当前的zindex.
  */
  export function getWidgetZIndex(dataMark:string):number;

  /**
  * @desc: 显示Modal层.
  * @ewruen 返回当前的zindex.
  */
  export function showWidget(el:HTMLElement, showMask:boolean, preventEvent:boolean, cbFinish:()=>void):void;

  /**
   * @desc: 隐藏Modal层.
   */
  export function hideWidget(el:HTMLElement, cbFinish:()=>void):void;
}

mask下的api可以处理modal层. 如果div拥有bp-apiClass类, 则会在最上层显示.

style

/* scss */
import '@bpui/component-utils/style';

/* css */
<link href="~@bpui/component-utils/dist/style.css" rel="stylesheet" type="text/css"/>
0.1.7

4 years ago

0.1.6

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.5

4 years ago

0.1.2

4 years ago

0.1.0

4 years ago

0.1.1

4 years ago

0.0.20

4 years ago

0.0.19

4 years ago

0.0.18

4 years ago

0.0.17

4 years ago

0.0.16

4 years ago

0.0.12

4 years ago

0.0.13

4 years ago

0.0.14

4 years ago

0.0.15

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago