@ctodev/cclibrary-typings
Version:
Library typings for use with CLARC INFINITY
37 lines (36 loc) • 1.19 kB
TypeScript
import { TccInputMask } from '../../../../models/inputMask.model';
/**
* creates the notification for displayElements.
* Usage:
* - needs input element and notificationClasses
* - if style changes are needed, add a new class in set element and add the style changes to tcc-element-notification.component.css
*/
export declare class TccElementNotificationComponent {
/**
* notification init for the element.
*/
set notification(notification: TccInputMask.notification);
/**
* typeClass init for the element.
*/
set type(type: TccInputMask.elementtype);
/**
* notificationClasses, will be created automatically in abstract class displayElement -> buildNotificationClasses
*/
notificationClasses: string;
_notification: TccInputMask.notification;
typeClass: string;
/**
* handles the click on a notification and opens the provided link in a new window
*/
onNotificationClick(): void;
}
/**
* this is the description
* @example
* This is a good example
* processTarget('yo')
*
* @param {string} target The target to process see {@link Todo}
* @returns The processed target number
*/