0.0.5 • Published 5 years ago
restomax-resizable v0.0.5
Restomax Resizable
Restomax Resizable is an @ionic/angular >=2.0.0 module.
Install module
npm install --save restomax-resizable
Import module
import { RMXResizableModule } from 'restomax-resizable';
@NgModule({
imports: [
...
RMXResizableModule,
...
],
...
})
export class AppModule {}
Use Module/Component
<!--
pointStartLeft => start left position of container in percent
pointStartTop => start top position of container in percent
pointStartRight => start right position of container in percent
pointStartBottom => start bottom position of container in percent
-->
<div rmxResizable
[size]="{Width: '12%', Height: '8%'}"
[pointStartLeft]="pointStartLeft"
[pointStartTop]="pointStartTop"
[pointStartRight]="pointStartRight"
[pointStartBottom]="pointStartBottom"
(resizeStart)="onResizeStart($event)"
(resizing)="onResizing($event)"
(resizeEnd)="onResizeEnd($event)"
></div>
Todo continue doc
Complete documentation...