@norwegian/core-components 5.18.0 → 5.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,16 @@
1
- import { Renderer2 } from '@angular/core';
1
+ import { Renderer2, OnInit } from '@angular/core';
2
2
  import { NasComponentBase } from '../../core';
3
3
  /**
4
4
  * @description
5
5
  * Norwegian Spinner Component | Layout
6
6
  */
7
- export declare class SpinnerComponent extends NasComponentBase {
7
+ export declare class SpinnerComponent extends NasComponentBase implements OnInit {
8
8
  private renderer;
9
9
  private enableValue;
10
10
  private loadingTimeout;
11
+ private refreshLinkTimout;
11
12
  showRefreshLink: boolean;
13
+ private refreshSecondValue;
12
14
  /**
13
15
  * @description
14
16
  * An information message that is displayed on the spinner.
@@ -64,14 +66,15 @@ export declare class SpinnerComponent extends NasComponentBase {
64
66
  get enable(): boolean;
65
67
  set enable(enable: boolean);
66
68
  /**
67
- * @description
69
+ * @descriptionp
68
70
  * Sets the number of seconds to wait before showing the refresh link.
69
71
  * @example
70
72
  * ```html
71
73
  * <nas-spinner [refresh]="10"></nas-spinner>
72
74
  * ```
73
75
  */
74
- refresh?: number;
76
+ get refresh(): number;
77
+ set refresh(value: number);
75
78
  /**
76
79
  * @description
77
80
  * Block page scrolling.
@@ -86,6 +89,7 @@ export declare class SpinnerComponent extends NasComponentBase {
86
89
  */
87
90
  blockScrolling: boolean;
88
91
  constructor(renderer: Renderer2);
92
+ ngOnInit(): void;
89
93
  private setEnabled;
90
94
  refreshPage(): void;
91
95
  }