@wikylyu/ngx-app-store-badge
v0.2.0
Published
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.3.0.
Downloads
3
Maintainers
Readme
AppStoreBadge
Mobile app download badge for
Usage
import NgxAppStoreBadgeModule
@NgModule({
declarations: [AppComponent],
imports: [GooglePlayBadgeComponent, AppStoreBadgeComponent, AmazonAppStoreBadgeComponent, AndroidApkBadgeComponent],
providers: [],
bootstrap: [AppComponent],
})
export class AppModule {}
Set badge's width with css
<ngx-google-play-badge url="https://play.google.com/store/apps/details?id=xyz.wikylyu.totk" style="width:200px;display:block;"></ngx-google-play-badge>
<ngx-app-store-badge url="https://apps.apple.com/app/id6462862080" style="width:200px;display:block;margin-top:20px;"></ngx-app-store-badge>
ngx-app-store-badge supports light style
<ngx-app-store-badge light url="https://apps.apple.com/app/id6462862080" style="width:200px;display:block;margin-top:20px;"></ngx-app-store-badge>
Example
Build ngx-app-store-badge
make build
Run example
make example