Name | Type | Default |
---|---|---|
disabled | Boolean | false |
Sets or gets the import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxScrollBar #myScrollBar [width]="18" [height]="280" [min]="0" [max]="1000" [disabled]="true"> </jqxScrollBar> ` }) export class AppComponent { } |
||
height | String | Number | null |
Sets or gets the import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxScrollBar #myScrollBar [width]="18" [height]="280" [min]="0" [max]="1000"> </jqxScrollBar> ` }) export class AppComponent { } |
||
largestep | Number | 50 |
Sets or gets the import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxScrollBar #myScrollBar [width]="18" [height]="280" [min]="0" [max]="1000" [largestep]="100"> </jqxScrollBar> ` }) export class AppComponent { } |
||
min | Number | 0 |
Sets or gets the import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxScrollBar #myScrollBar [width]="18" [height]="280" [min]="0" [max]="1000"> </jqxScrollBar> ` }) export class AppComponent { } |
||
max | Number | 1000 |
Sets or gets the import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxScrollBar #myScrollBar [width]="18" [height]="280" [min]="0" [max]="1000"> </jqxScrollBar> ` }) export class AppComponent { } |
||
rtl | Boolean | false |
Sets or gets the import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxScrollBar #myScrollBar [width]="18" [height]="280" [min]="0" [max]="1000" [rtl]="true"> </jqxScrollBar> ` }) export class AppComponent { } |
||
step | Number | 10 |
Sets or gets the import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxScrollBar #myScrollBar [width]="18" [height]="280" [min]="0" [max]="1000" [step]="20"> </jqxScrollBar> ` }) export class AppComponent { } |
||
showButtons | Boolean | true |
Sets or gets the import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxScrollBar #myScrollBar [width]="18" [height]="280" [min]="0" [max]="1000" [showButtons]="false"> </jqxScrollBar> ` }) export class AppComponent { } |
||
thumbMinSize | Number | 10 |
Sets or gets the import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxScrollBar #myScrollBar [width]="18" [height]="280" [min]="0" [max]="1000" [thumbMinSize]="5"> </jqxScrollBar> ` }) export class AppComponent { } |
||
theme | String | '' |
Sets or gets the import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxScrollBar #myScrollBar [width]="18" [height]="280" [min]="0" [max]="1000" [theme]="'energyblue'"> </jqxScrollBar> ` }) export class AppComponent { } |
||
vertical | Boolean | false |
Sets or gets the import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxScrollBar #myScrollBar [width]="18" [height]="280" [min]="0" [max]="1000" [vertical]="true"> </jqxScrollBar> ` }) export class AppComponent { } |
||
value | Number | 0 |
Sets or gets the import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxScrollBar #myScrollBar [width]="18" [height]="280" [min]="0" [max]="1000" [value]="20"> </jqxScrollBar> ` }) export class AppComponent { } |
||
width | String | Number | null |
Sets or gets the import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxScrollBar #myScrollBar [width]="18" [height]="280" [min]="0" [max]="1000"> </jqxScrollBar> ` }) export class AppComponent { } |
||
Events |
||
valueChanged | Event | |
This event is triggered when the value is changed. Code examples
Bind to the
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxScrollBar #myScrollBar(onValueChanged)="ValueChanged($event)" [width]="18" [height]="280" [min]="0" [max]="1000"> </jqxScrollBar> ` }) export class AppComponent { ValueChanged(event: any): void { // Do Something } |
||
Methods |
||
Name | Return Type | Arguments |
destroy | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxScrollBar #myScrollBar [width]="18" [height]="280" [min]="0" [max]="1000"> </jqxScrollBar> ` }) export class AppComponent implements AfterViewInit { @ViewChild('myScrollBar') myScrollBar: jqxScrollBarComponent; |
||
isScrolling | Boolean | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxScrollBar #myScrollBar [width]="18" [height]="280" [min]="0" [max]="1000"> </jqxScrollBar> ` }) export class AppComponent implements AfterViewInit { @ViewChild('myScrollBar') myScrollBar: jqxScrollBarComponent; |
||
setPosition | Void | index: Number |
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxScrollBar #myScrollBar [width]="18" [height]="280" [min]="0" [max]="1000"> </jqxScrollBar> ` }) export class AppComponent implements AfterViewInit { @ViewChild('myScrollBar') myScrollBar: jqxScrollBarComponent; |