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