react-dock
- Version 0.7.0
- Published
- 35.8 kB
- 2 dependencies
- MIT license
Install
npm i react-dock
yarn add react-dock
pnpm add react-dock
Overview
Resizable dockable react component
Index
Classes
Dock
- componentDidMount()
- componentDidUpdate()
- componentWillUnmount()
- debouncedUpdateWindowSizeEnd
- defaultProps
- handleDimClick
- handleMouseDown
- handleMouseMove
- handleMouseUp
- handleResize
- handleWrapperLeave
- hideDim
- render()
- state
- transitionEnd
- UNSAFE_componentWillReceiveProps()
- updateSize()
- updateWindowSize
- updateWindowSizeEnd
Classes
class Dock
class Dock extends Component<Props, State> {}
property debouncedUpdateWindowSizeEnd
debouncedUpdateWindowSizeEnd: DebouncedFunc<() => void>;
property defaultProps
static defaultProps: { position: string; zIndex: number; fluid: boolean; defaultSize: number; dimMode: string; duration: number;};
property handleDimClick
handleDimClick: () => void;
property handleMouseDown
handleMouseDown: () => void;
property handleMouseMove
handleMouseMove: (e: MouseEvent | TouchEvent) => void;
property handleMouseUp
handleMouseUp: () => void;
property handleResize
handleResize: () => void;
property handleWrapperLeave
handleWrapperLeave: () => void;
property hideDim
hideDim: () => void;
property state
state: State;
property transitionEnd
transitionEnd: () => void;
property updateWindowSize
updateWindowSize: (windowResize?: true) => void;
property updateWindowSizeEnd
updateWindowSizeEnd: () => void;
method componentDidMount
componentDidMount: () => void;
method componentDidUpdate
componentDidUpdate: (prevProps: Props) => void;
method componentWillUnmount
componentWillUnmount: () => void;
method render
render: () => React.JSX.Element;
method UNSAFE_componentWillReceiveProps
UNSAFE_componentWillReceiveProps: (nextProps: Props) => void;
method updateSize
updateSize: (props: Props) => void;
Package Files (2)
Dependencies (2)
Dev Dependencies (17)
Peer Dependencies (2)
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/react-dock
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/react-dock)
- HTML<a href="https://www.jsdocs.io/package/react-dock"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 1926 ms. - Missing or incorrect documentation? Open an issue for this package.