Name | Type | Default |
animationType
|
enum:ExpanderAnimationType
|
'slide'
|
enum ExpanderAnimationType { none, slide, fade } Sets or gets the animationType property.
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 arrowPosition property.
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 collapseAnimationDuration property.
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 disabled property.
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 expanded property.
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 expandAnimationDuration property.
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 height property.
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 headerPosition property.
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 initContent property.
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 rtl property.
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 showArrow property.
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 theme property.
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 toggleMode property.
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 width property.
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 {
|
|
collapsing
|
Event
|
|
This event is triggered when the jqxExpander is going to be collapsed.
Code examples
Bind to the collapsing event of jqxExpander.
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
|
collapsed
|
Event
|
|
This event is triggered when the jqxExpander is collapsed.
Code examples
Bind to the collapsed event of jqxExpander.
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
|
expanding
|
Event
|
|
This event is triggered when the jqxExpander is going to be expanded.
Code examples
Bind to the expanding event of jqxExpander.
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
|
expanded
|
Event
|
|
This event is triggered when the jqxExpander is expanded.
Code examples
Bind to the expanded event of jqxExpander.
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
|
|
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; ngAfterViewInit(): void { this.myExpander.collapse();
|
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; ngAfterViewInit(): void { this.myExpander.disable();
|
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; ngAfterViewInit(): void { this.myExpander.destroy();
|
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; ngAfterViewInit(): void { this.myExpander.enable();
|
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; ngAfterViewInit(): void { this.myExpander.expand();
|
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; ngAfterViewInit(): void { let value = this.myExpander.getContent();
|
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; ngAfterViewInit(): void { let value = this.myExpander.getHeaderContent();
|
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; ngAfterViewInit(): void { this.myExpander.invalidate();
|
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; ngAfterViewInit(): void { this.myExpander.refresh();
|
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; ngAfterViewInit(): void { this.myExpander.render();
|
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; ngAfterViewInit(): void { this.myExpander.setHeaderContent( 'header');
|
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; ngAfterViewInit(): void { this.myExpander.setContent( 'content');
|