Giter Club home page Giter Club logo

ngx-emoj's Introduction

Victor's Github stats Victor's programming languages stats

Victor's commit streaks stats

ngx-emoj's People

Contributors

ahkohd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ngx-emoj's Issues

Override default css

Hi thanks for the amazing plugin, i want to add this to my angular apps which installed on my wordpress. but the ui look like this

image

the icon looks so small, but if i dont use it on wordpress it works fine, how to change that using css?

feat request: fallback pipe for missing emojis

Hi there,

It appears that some emoji are missing on some devices.

missing emojis

On your picker repo you implemented a fallback pipe, which might be able to fill the gap, though the detector fails to detect properly missing emojis.

Would that be possible to add the same fallback pipe on this repo?

As you stated, the picker repo is in maintenance mode, and at it's state is not suitable Ionic production apps for slow render reasons.
Just my 2 cents but I think this repo would be enough for both usecases; mobile & desktop apps, if it can handle somewhat old mobile devices and the fallback is then a main concern.

I suggest to use if-emoji lib or their implementation for the detector.

Currently, I use this simple pipe on my project for the fallback and it works with no false positive so far

import { Pipe, PipeTransform } from '@angular/core';
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
import ifEmoji from 'if-emoji'
import twemoji from 'twemoji';

@Pipe({
  name: 'emojiFallback'
})
export class EmojiFallbackPipe implements PipeTransform {

  constructor(private domSanitizer: DomSanitizer) { }

  transform(emoji: string): string | SafeHtml {
    return ifEmoji(emoji) ? emoji : this.domSanitizer.bypassSecurityTrustHtml(twemoji.parse(emoji.trim()));
  }
}

If you need some help or a PR, please let me know.

emoji header

if we are pressing the center of emoji header it doesn't changed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.