| Name | Type | Default |
|---|---|---|
| animationType | enum:ExpanderAnimationType | 'slide' |
|
enum ExpanderAnimationType {
none, slide, fade } Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander
[width]="350" [animationType]="'fade'">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent {
}
|
||
| arrowPosition | enum:ExpanderArrowPosition | 'left' |
|
enum ExpanderArrowPosition {
left, right } Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander
[width]="350" [arrowPosition]="'left'">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent {
}
|
||
| collapseAnimationDuration | Number | 400 |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander
[width]="350" [collapseAnimationDuration]="300">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent {
}
|
||
| disabled | Boolean | false |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander
[width]="350" [disabled]="true">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent {
}
|
||
| expanded | Boolean | true |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander
[width]="350" [expanded]="false">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent {
}
|
||
| expandAnimationDuration | Number | 400 |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander
[width]="350" [expandAnimationDuration]="300">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent {
}
|
||
| height | Size | 'auto' |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander
[width]="350" [height]="100">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent {
}
|
||
| headerPosition | enum:ExpanderHeaderPosition | 'top' |
|
enum ExpanderHeaderPosition {
top, bottom } Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander
[width]="350" [headerPosition]="'bottom'">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent {
}
|
||
| initContent | () => Void | null |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander
[width]="350" [initContent]="initContent">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent {
}
|
||
| rtl | Boolean | false |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander
[width]="350" [rtl]="true">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent {
}
|
||
| showArrow | Boolean | true |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander
[width]="350" [showArrow]="true">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent {
}
|
||
| theme | String | '' |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander
[width]="350" [theme]="'energyblue'">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent {
}
|
||
| toggleMode | enum:ExpanderToggleMode | 'click' |
|
enum ExpanderToggleMode {
click, dblclick, none } Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander
[width]="350" [toggleMode]="'none'">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent {
}
|
||
| width | Size | 'auto' |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander
[width]="350" [width]="300">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent {
}
|
||
Events |
||
| collapsing | Event | |
|
This event is triggered when the jqxExpander is going to be collapsed. Code examples
Bind to the
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander (onCollapsing)="Collapsing($event)"
[width]="350">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent {
Collapsing(event: any): void
{
// Do Something
}
|
||
| collapsed | Event | |
|
This event is triggered when the jqxExpander is collapsed. Code examples
Bind to the
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander (onCollapsed)="Collapsed($event)"
[width]="350">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent {
Collapsed(event: any): void
{
// Do Something
}
|
||
| expanding | Event | |
|
This event is triggered when the jqxExpander is going to be expanded. Code examples
Bind to the
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander (onExpanding)="Expanding($event)"
[width]="350">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent {
Expanding(event: any): void
{
// Do Something
}
|
||
| expanded | Event | |
|
This event is triggered when the jqxExpander is expanded. Code examples
Bind to the
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander (onExpanded)="Expanded($event)"
[width]="350">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent {
Expanded(event: any): void
{
// Do Something
}
|
||
Methods |
||
| Name | Return Type | Arguments |
| collapse | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander
[width]="350">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myExpander') myExpander: jqxExpanderComponent; |
||
| disable | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander
[width]="350">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myExpander') myExpander: jqxExpanderComponent; |
||
| destroy | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander
[width]="350">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myExpander') myExpander: jqxExpanderComponent; |
||
| enable | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander
[width]="350">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myExpander') myExpander: jqxExpanderComponent; |
||
| expand | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander
[width]="350">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myExpander') myExpander: jqxExpanderComponent; |
||
| focus | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander
[width]="350">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myExpander') myExpander: jqxExpanderComponent; |
||
| getContent | String | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander
[width]="350">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myExpander') myExpander: jqxExpanderComponent; |
||
| getHeaderContent | String | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander
[width]="350">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myExpander') myExpander: jqxExpanderComponent; |
||
| invalidate | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander
[width]="350">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myExpander') myExpander: jqxExpanderComponent; |
||
| refresh | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander
[width]="350">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myExpander') myExpander: jqxExpanderComponent; |
||
| render | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander
[width]="350">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myExpander') myExpander: jqxExpanderComponent; |
||
| setHeaderContent | Void | headerContent: String |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander
[width]="350">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myExpander') myExpander: jqxExpanderComponent; |
||
| setContent | Void | content: String |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxExpander #myExpander
[width]="350">
<div>
Early History of the Internet
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
</ul>
</div>
</jqxExpander>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myExpander') myExpander: jqxExpanderComponent; |
||