17.0.0 • Published 6 months ago
ng-github-button v17.0.0
ng-github-button
Unofficial GitHub buttons in Angular.
Demo
Usage
1. Install
npm install ng-github-button --save
import GithubButtonModule
。
import { GithubButtonModule } from 'ng-github-button';
@NgModule({
imports: [ BrowserModule, GithubButtonModule ],
declarations: [AppComponent],
bootstrap: [AppComponent]
})
export class AppModule { }
2、Template
<github-button type="stargazers" size="large" namespace="cipchk" repo="ng-github-button"></github-button>
Name | Type | Default | Summary |
---|---|---|---|
type | stargazers,subscribers,forks | - | - |
size | default,large | - | - |
namespace | string | - | Your GitHub id or organization name. |
repo | string | - | The name of your repository. |
showZero | boolean | false | Can be show zero value |
Troubleshooting
Please follow this guidelines when reporting bugs and feature requests:
- Use GitHub Issues board to report bugs and feature requests (not our email address)
- Please always write steps to reproduce the error. That way we can focus on fixing the bug, not scratching our heads trying to reproduce it.
Thanks for understanding!
License
The MIT License (see the LICENSE file for the full text)
17.0.0-rc.0
6 months ago
17.0.0
6 months ago
16.0.0
11 months ago
15.0.0
1 year ago
14.0.0
2 years ago
13.0.0
2 years ago
12.0.0
3 years ago
11.0.0
3 years ago
11.0.1
3 years ago
10.0.0
4 years ago
9.0.0
4 years ago
2.1.4
5 years ago
2.1.3
5 years ago
2.1.2
5 years ago
2.1.1
5 years ago
2.1.0
5 years ago
2.0.0
5 years ago
2.0.0-rc.1
5 years ago
1.0.0
6 years ago
1.0.0-beta.1
6 years ago
0.0.2
6 years ago
0.0.1
6 years ago
0.0.1-alpha.0
6 years ago