* // Individual module import
* import { NotificationDrawerModule } from 'patternfly-ng/notification';
* // Or
* import { NotificationDrawerModule } from 'patternfly-ng';
*
* @NgModule({
* imports: [NotificationDrawerModule,...]
* })
* export class AppModule(){}
*
*
* Optional:
*
* import { Notification, NotificationGroup } from 'patternfly-ng/notification';
*
*/
@Component({
encapsulation: ViewEncapsulation.None,
selector: 'pfng-notification-drawer',
templateUrl: './notification-drawer.component.html'
})
export class NotificationDrawerComponent implements OnInit {
/**
* Flag if the drawer can be expanded. Optional, default: false
*/
@Input() allowExpand: boolean = false;
/**
* Flag if the drawer is expanded (only valid if allowExpand is true). Optional, default: false
*/
@Input() expanded: boolean = false;
/**
* Template for the heading area for each notification group,
* access the group via notificationGroup
*/
@Input() headingTemplate: TemplateRef