New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@bpui/component-utils

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bpui/component-utils

utility of components

0.1.7
latest
Version published
Weekly downloads
31
-84.02%
Maintainers
1
Weekly downloads
 
Created
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"/>

FAQs

Package last updated on 14 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts