Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SfNotificationComponent

API reference for SfNotificationComponent

import {SfNotificationModule} from "@progress/sitefinity-component-framework";


selector: sf-notification

Hierarchy

  • SfNotificationComponent

Implements

  • OnInit
  • OnChanges

Index

Properties

caption

caption: string

The caption of the notification

isFixed

isFixed: boolean = false

Whether the notification is fixed Should pass look="fixed" to enable it

isTooltip

isTooltip: boolean = false

Whether the notification is a tooltip Should pass look="tooltip" to enable it

look

look: string

Sets the css modifiers of the component

notificationCssClassList

notificationCssClassList: string

The notification css class list

onClose

onClose: EventEmitter<any> = new EventEmitter()

onClose emitter

Methods

checkObservers

  • checkObservers(): number
  • Checks the numbers of subscribers to the onClose event

    Returns number

generateCssClassList

  • generateCssClassList(): string
  • Generates the css class list

    Returns string

Private handleChanges

  • handleChanges(changes: SimpleChanges): void
  • Parameters

    • changes: SimpleChanges

    Returns void

ngOnChanges

  • ngOnChanges(changes: SimpleChanges): void
  • Parameters

    • changes: SimpleChanges

    Returns void

ngOnInit

  • ngOnInit(): void
  • Returns void

onCloseButtonClick

  • onCloseButtonClick(event: Event): void
  • Checks the numbers of subscribers to the onClose event

    Parameters

    • event: Event

    Returns void

Generated using TypeDoc