All Projects → kamilkisiela → angular-emojify

kamilkisiela / angular-emojify

Licence: MIT license
Angular Pipe that replaces all :emoji: with the actual emoji

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

angular-emojify

npm version

Angular Pipe that replaces all :emoji: with the actual emoji

Install

npm install angular-emojify

EmojifyModule

import { EmojifyModule } from 'angular-emojify';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    EmojifyModule
  ],
  bootstrap: [ AppComponent ],
})
export class AppModule {}

EmojifyPipe

@Component({
  // ...
})
class AppComponent() {
  description: string = `It's a :rocket:`;
}
<p> {{ description | emojify }} </p>

Outputs: It's a 🚀

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].