@norwegian/core-components 6.56.0 → 6.57.0
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,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Norwegian Air Shuttle. All Rights Reserved.
|
|
4
|
+
*/
|
|
5
|
+
import { EventEmitter } from '@angular/core';
|
|
1
6
|
import { ClassModel } from '../../core/models/class.model';
|
|
2
7
|
import { NasComponentBase } from '../../core/base/nas-component.base';
|
|
3
8
|
import { InfoModel } from '../info';
|
|
@@ -31,11 +36,30 @@ export declare class RibbonBannerComponent extends NasComponentBase {
|
|
|
31
36
|
* Sets Ribbon banner to warning styling
|
|
32
37
|
*/
|
|
33
38
|
warning: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* @property Output
|
|
41
|
+
* @description
|
|
42
|
+
* Change event when clicking on button.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* <nas-button (closeChange)="myFunction()">Close</nas-button>
|
|
46
|
+
*/
|
|
47
|
+
closeChange: EventEmitter<Event>;
|
|
48
|
+
/**
|
|
49
|
+
* @property Output
|
|
50
|
+
* @description
|
|
51
|
+
* Change event when clicking on button.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* <nas-button (onRedirectChange)="redirect()">Read more</nas-button>
|
|
55
|
+
*/
|
|
56
|
+
onRedirectChange: EventEmitter<Event>;
|
|
34
57
|
constructor();
|
|
35
58
|
getModifiers(): Array<string>;
|
|
36
59
|
getClasses(element?: string, modifiers?: any): Array<ClassModel>;
|
|
37
60
|
getIcon(): string;
|
|
38
61
|
onClickClose(): void;
|
|
62
|
+
onRedirect(): void;
|
|
39
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<RibbonBannerComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RibbonBannerComponent, "nas-ribbon-banner", never, { "enable": { "alias": "enable"; "required": false; }; "infoModel": { "alias": "infoModel"; "required": false; }; "info": { "alias": "info"; "required": false; }; "warning": { "alias": "warning"; "required": false; }; }, {}, never, never, false, never>;
|
|
64
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RibbonBannerComponent, "nas-ribbon-banner", never, { "enable": { "alias": "enable"; "required": false; }; "infoModel": { "alias": "infoModel"; "required": false; }; "info": { "alias": "info"; "required": false; }; "warning": { "alias": "warning"; "required": false; }; }, { "closeChange": "closeChange"; "onRedirectChange": "onRedirectChange"; }, never, never, false, never>;
|
|
41
65
|
}
|