| Name | Type | Default |
|---|---|---|
| autoOpen | Boolean | true |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [autoOpen]="false">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| animationType | enum:WindowAnimationType | fade |
|
enum WindowAnimationType {
none, fade, slide, combined } Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [animationType]="'slide'">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| collapsed | Boolean | false |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [collapsed]="true">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| collapseAnimationDuration | Number | 150 |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [collapseAnimationDuration]="3000">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| content | String | '' |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [content]="'New Content'">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| closeAnimationDuration | Number | 350 |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [closeAnimationDuration]="3000">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| closeButtonSize | Number | 16 |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [closeButtonSize]="20">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| closeButtonAction | enum:WindowCloseButtonAction | hide |
|
enum WindowCloseButtonAction {
hide, close } Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [closeButtonAction]="'close'">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| cancelButton | Any | null |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [cancelButton]="cancelButton">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| dragArea | WindowDragArea | null |
|
interface WindowDragArea {
left: Number; top: Number; width: Number | String; height: Number | String; } Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [dragArea]="dragArea">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| draggable | Boolean | true |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [draggable]="false">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| disabled | Boolean | false |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [disabled]="true">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| height | String | Number | null |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| initContent | () => Void | null |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [initContent]="initContent">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| isModal | Boolean | false |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [isModal]="true">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| keyboardCloseKey | String | Number | 'esc' |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [keyboardCloseKey]="32">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| keyboardNavigation | Boolean | true |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [keyboardNavigation]="false">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| minHeight | String | Number | 50 |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| maxHeight | String | Number | 600 |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| minWidth | String | Number | 50 |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [minWidth]="100">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| maxWidth | String | Number | 600 |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [maxWidth]="300">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| modalOpacity | Number | 0.3 |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [modalOpacity]="0.5">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| modalZIndex | Number | 18000 |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [modalZIndex]="9999">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| modalBackgroundZIndex | Number | 12990 |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [modalBackgroundZIndex]="9999">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| okButton | Any | null |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [okButton]="okButton">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| position | String | Any | center |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [position]="top,left">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| rtl | Boolean | false |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [rtl]="true">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| resizable | Boolean | true |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [resizable]="false">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| showAnimationDuration | Number | 350 |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [showAnimationDuration]="3000">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| showCloseButton | Boolean | true |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [showCloseButton]="false">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| showCollapseButton | Boolean | false |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [showCollapseButton]="true">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| theme | String | '' |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [theme]="'energyblue'">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| title | String | '' |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [title]="'Title'">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| width | String | Number | null |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
| zIndex | Number | 9001 |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300" [zIndex]="9999">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
}
|
||
Events |
||
| close | Event | |
|
This event is triggered when the window is closed. Code examples
Bind to the
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow(onClose)="Close($event)"
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
Close(event: any): void
{
// Do Something
}
|
||
| collapse | Event | |
|
This event is triggered when the window is collapsed. Code examples
Bind to the
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow(onCollapse)="Collapse($event)"
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
Collapse(event: any): void
{
// Do Something
}
|
||
| created | Event | |
|
This event is triggered when the user create new window. Code examples
Bind to the
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow(onCreated)="Created($event)"
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
Created(event: any): void
{
// Do Something
}
|
||
| expand | Event | |
|
This event is triggered when the window is expanded. Code examples
Bind to the
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow(onExpand)="Expand($event)"
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
Expand(event: any): void
{
// Do Something
}
|
||
| moving | Event | |
|
This event is triggered when the window is dragging by the user. Code examples
Bind to the
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow(onMoving)="Moving($event)"
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
Moving(event: any): void
{
// Do Something
}
|
||
| moved | Event | |
|
This event is triggered when the window is dropped by the user. Code examples
Bind to the
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow(onMoved)="Moved($event)"
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
Moved(event: any): void
{
// Do Something
}
|
||
| open | Event | |
|
This event is triggered when the window is displayed. Code examples
Bind to the
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow(onOpen)="Open($event)"
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
Open(event: any): void
{
// Do Something
}
|
||
| resizing | Event | |
|
This event is triggered when the end-user is resizing the window. Code examples
Bind to the
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow(onResizing)="Resizing($event)"
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
Resizing(event: any): void
{
// Do Something
}
|
||
| resized | Event | |
|
This event is triggered when the end-user has resized the window. Code examples
Bind to the
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow(onResized)="Resized($event)"
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent {
Resized(event: any): void
{
// Do Something
}
|
||
Methods |
||
| Name | Return Type | Arguments |
| bringToFront | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myWindow') myWindow: jqxWindowComponent; |
||
| close | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myWindow') myWindow: jqxWindowComponent; |
||
| collapse | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myWindow') myWindow: jqxWindowComponent; |
||
| closeAll | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myWindow') myWindow: jqxWindowComponent; |
||
| disable | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myWindow') myWindow: jqxWindowComponent; |
||
| destroy | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myWindow') myWindow: jqxWindowComponent; |
||
| enable | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myWindow') myWindow: jqxWindowComponent; |
||
| expand | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myWindow') myWindow: jqxWindowComponent; |
||
| focus | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myWindow') myWindow: jqxWindowComponent; |
||
| isOpen | Boolean | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myWindow') myWindow: jqxWindowComponent; |
||
| move | Void |
top: Number, left: Number |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myWindow') myWindow: jqxWindowComponent; |
||
| open | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myWindow') myWindow: jqxWindowComponent; |
||
| hide | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myWindow') myWindow: jqxWindowComponent; |
||
| resize | Void |
top: Number, left: Number |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myWindow') myWindow: jqxWindowComponent; |
||
| setTitle | Void | title: String |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myWindow') myWindow: jqxWindowComponent; |
||
| setContent | Void | content: String |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxWindow #myWindow
[width]="500" [height]="400" [minHeight]="300" [minWidth]="300">
<div>About 30 St Mary Axe</div>
<div>
<h3>30 St Mary Axe</h3>
<p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p>
<p>The building is on the former site of the Baltic Exchange building....</p>
</div>
</jqxWindow>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myWindow') myWindow: jqxWindowComponent; |
||