Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
@nggondolas/ng-bttv
Advanced tools
Readme
ng-bttv is simple Angular service for fetching BTTV emotes (JPEG, PNG or GIFs).
npm i --save @nggondolas/ng-bttv
Now import the NgBttvModule
on your app.module.ts
.
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { NgBttvModule } from '@nggondolas/ng-bttv';
@NgModule({
declarations: [AppComponent],
imports: [BrowserModule, NgBttvModule],
bootstrap: [AppComponent],
})
export class AppModule {}
And inject the NgBttvService
in your component.
import { Component } from '@angular/core';
import { NgBttvService } from '@nggondolas/ng-bttv';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss'],
})
export class AppComponent {
// First param is the emote ID
// Second is the size (1 || 2 || 3)
okayge = this.emoteService.getEmote('5dfd5fd19e2cd00d968d3a4d', 1);
constructor(private emoteService: NgBttvService) {
}
}
Now you can use it like this:
<a class="circle-link" href="#">
<img [src]="okayge">
</a>
Some emotes are already baked in to the service via helper methods.
If you can't find them on this list, then just use the getEmote()
with the ID and size you want.
Emote | Method |
---|---|
getOMEGALUL | |
getPogU | |
getSadge | |
getZULUL | |
getOkayge | |
getMonkaW | |
getLULW | |
getMonkaPickle | |
getWeirdChamp | |
getForsenCD | |
getPogOh | |
getYEPP | |
getEZ | |
getPepeLaugh | |
getFeelsWeirdMan | |
getForsenSmug | |
getPagMan | |
getMEGALUL | |
getPajaThink | |
getGachiGASM | |
getForsenPls | |
getFEELSWAYTOOGOOD | |
getHACKERMANS | |
getForsenSWA | |
getWAYTOODANK | |
getMonkaE | |
getForsenDiscoSnake | |
getGondolaPls | |
getNODDERS | |
getTeaTime | |
getWEEBSDETECTED |
FAQs
Angular Service for fetching BTTV emotes
The npm package @nggondolas/ng-bttv receives a total of 6 weekly downloads. As such, @nggondolas/ng-bttv popularity was classified as not popular.
We found that @nggondolas/ng-bttv demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.