2019-08-31 20:51:14 -07:00

20 lines
653 B
TypeScript

import Component from '@ember/component';
// @ts-ignore: Ignore import of compiled template
import template from '../templates/components/notifications-toast';
import { layout, classNames } from '@ember-decorators/component';
/**
* Renders a toast component in the DOM for Notifications of type NotificationType.Toast
* @export
* @extends {Component}
*/
@layout(template)
@classNames('notifications__toast')
export default class NotificationsToast extends Component {
/**
* Maximum character length for text content in a toast. Text that exceeds this value
* will be split in the middle and concatenated
*/
maxToastCharLength = 100;
}