ng2-emojify
Version:
An angular 2 module to support built-in and custom emoji
21 lines (14 loc) • 342 B
text/typescript
import {Injectable} from '@angular/core';
import {Emotions} from '../default-emotion';
()
export class CustomEmotionService {
Emotions: any = [];
constructor() {
}
AddCustomEmotions(emotions: any): void {
this.Emotions = [...emotions];
}
GetEmotions(): any {
return [...this.Emotions, ...Emotions];
}
}