Showing 1-20 of 1,110 packages
React component for transportation of modals, lightboxes, loading bars... to document.body
React component for transportation of modals, lightboxes, loading bars... to document.body
Component: calls back after document.body exists.
Set global styles (e.g. on `document.body`) declaratively.
A React component that conditionally adds CSS class name(s) to document.body
delegate events from document.body
callback when document.body exists
React component for transportation of modals, lightboxes, loading bars... to document.body
Apply overflow hidden to the document.body the react way.
Transport React elements to document.body
Transport React element to document.body
## API 属性 | 说明 | 类型 | 默认值 -----|-----|-----|------ getContainer | 获取父容器的方法,可选,如果不传默认是`document.body` | function | - children | 传送门内容 | ReactNode | - onUpdated | updated方法回调,用于准确获取传送门内的dom元素 | () => void | -
React component for transportation of modals, lightboxes, loading bars... to document.body
To make your life with React Portals easier.
React component for transportation of modals, lightboxes, loading bars... to document.body
Declarative portals for React
React component to wrap your application or component in an iFrame for encapsulation purposes
Recursively traverses the DOM (starting at a given node, document.body by default) and searches for all elements matching a given query selector. Any (open) shadow DOM boundary will be pierced.
LeafyGreen UI Kit Portal
## API 属性 | 说明 | 类型 | 默认值 -----|-----|-----|------ show | 是否显示,可选 | boolean | `false` getContainer | 获取父容器的方法,可选,如果不传默认是`document.body` | function | - mask | 是否显示遮罩层,可选 | boolean | `false` maskClassName | mask的className,可选 | string | - onMaskClick | mask点