diff --git a/src/app/showcase/doc/slider/verticaldoc.ts b/src/app/showcase/doc/slider/verticaldoc.ts index f87d5046493..3c8b0ece74a 100644 --- a/src/app/showcase/doc/slider/verticaldoc.ts +++ b/src/app/showcase/doc/slider/verticaldoc.ts @@ -8,19 +8,19 @@ import { Code } from '@domain/code';

Default layout of slider is horizontal, use orientation property for the alternative vertical mode.

- +
` }) export class VerticalDoc { - value!: number; + value: number = 50; code: Code = { - basic: ``, + basic: ``, html: `
- +
`, typescript: `import { Component } from '@angular/core'; @@ -34,7 +34,7 @@ import { SliderModule } from 'primeng/slider'; imports: [FormsModule, SliderModule] }) export class SliderVerticalDemo { - value!: number; + value: number = 50; }` }; }