Occurs when the layout is performed.
Code examples
Bind to the layout
event of jqxDockPanel.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxDockPanel #myDockPanel (onLayout)="Layout($event)" [width]="300" [height]="300">
<div dock='left' style='background: #486974;'>
First Div
</div> <div dock='top' style='height: 100px; background: #368ba7;'> Second Div
</div> <div dock='right' style='background: #df7169;'> Third Div
</div> <div style='background: #a73654;'> Fourth Div
</div> </jqxDockPanel> `
})
export class AppComponent {