box-resizer
v0.0.12
Published
This library is used to resize a element by dragging.
Downloads
17
Readme
BoxResizer
This library is used to resize a element by dragging.
HTML
`<div boxResizer [boxReSizeInput]="boxReSizeInput">my div with some width and height</div>`
TS
boxReSizeInput = {
yResizer: true;
yMinHeight: 500,
yDragIndicator: `<i class='fa fa-ellipsis-h'>`
}
All Inputs
export interface boxReSizeInput {
xResizer?: boolean; // deafault true
xMinWidth?: number;
xMaxWidth?: number;
xDragIndicator?: any;
yResizer?: boolean; // deafault false
yMinHeight?: number;
yMaxHeight?: number;
yDragIndicator?: any;
}