File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,16 +3,14 @@ name: CI
33on :
44 push :
55 branches :
6- - master
6+ - main
77 pull_request :
88
99jobs :
1010 build :
1111 runs-on : ubuntu-latest
1212 steps :
13- # https://github.com/actions/checkout
1413 - uses : actions/checkout@v6
15- # https://github.com/actions/setup-node
1614 - uses : actions/setup-node@v6
1715 with :
1816 node-version : 24
2321 - run : npm run build
2422 - name : test
2523 run : npm run test:ci
26- # https://github.com/codecov/codecov-action
24+
2725 - name : coverage
2826 uses : codecov/codecov-action@v5
2927 with :
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Release
22on :
33 workflow_run :
44 workflows : ['CI']
5- branches : [master ]
5+ branches : [main ]
66 types : [completed]
77
88permissions :
Original file line number Diff line number Diff line change 11<div align =" center " >
2- <img src =" https://raw.githubusercontent.com/openng-org/ngx-toastr/master /misc/documentation-assets/ngx-toastr-example.png " width =" 300 " alt =" Angular Toastr " >
2+ <img src =" https://raw.githubusercontent.com/openng-org/ngx-toastr/main /misc/documentation-assets/ngx-toastr-example.png " width =" 300 " alt =" Angular Toastr " >
33 <br >
44 <h1 >@openng/ngx-toastr</h1 >
55 <br >
@@ -49,7 +49,7 @@ npm install @openng/ngx-toastr --save
4949** step 1:** add css
5050
5151- copy
52- [ toast css] ( https://github.com/openng-org/ngx-toastr/blob/master /projects/ngx-toastr/src/lib/toastr.css )
52+ [ toast css] ( https://github.com/openng-org/ngx-toastr/blob/main /projects/ngx-toastr/src/lib/toastr.css )
5353 to your project.
5454- If you are using sass you can import the css.
5555
@@ -347,7 +347,7 @@ That's it! No animations.
347347## Using A Custom Toast
348348
349349Create your toast component extending Toast see the demo's pink toast for an example
350- < https://github.com/openng-org/ngx-toastr/blob/master /src/app/pink-toast/pink-toast.component.ts >
350+ < https://github.com/openng-org/ngx-toastr/blob/main /src/app/pink-toast/pink-toast.component.ts >
351351
352352``` typescript
353353import { ToastrModule } from ' @openng/ngx-toastr' ;
@@ -377,7 +377,7 @@ ngOnInit() {
377377```
378378
3793792 . Change default icons (check, warning sign, etc)\
380- Overwrite the css background-image: < https://github.com/openng-org/ngx-toastr/blob/master /projects/ngx-toastr/src/lib/toastr.css > .
380+ Overwrite the css background-image: < https://github.com/openng-org/ngx-toastr/blob/main /projects/ngx-toastr/src/lib/toastr.css > .
3813813 . How do I use this in an ErrorHandler?\
382382 See: < https://github.com/scttcper/ngx-toastr/issues/179 > .
3833834 . How can I translate messages?\
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { Component, VERSION } from '@angular/core';
66 <footer class="footer mb-4 mt-5">
77 Angular {{ version }}
88 <br />
9- <a href="https://github.com/openng-org/ngx-toastr/blob/master /LICENSE">MIT license</a>
9+ <a href="https://github.com/openng-org/ngx-toastr/blob/main /LICENSE">MIT license</a>
1010 -
1111 <a href="https://github.com/openng-org/ngx-toastr">Source</a>
1212 </footer>
Original file line number Diff line number Diff line change 1717 <!-- Search Engine -->
1818 < meta
1919 name ="image "
20- content ="https://raw.githubusercontent.com/openng-org/ngx-toastr/master /misc/documentation-assets/ngx-toastr-example.png "
20+ content ="https://raw.githubusercontent.com/openng-org/ngx-toastr/main /misc/documentation-assets/ngx-toastr-example.png "
2121 />
2222 <!-- Schema.org for Google -->
2323 < meta itemprop ="name " content ="@openng/ngx-toastr " />
2424 < meta
2525 itemprop ="image "
26- content ="https://raw.githubusercontent.com/openng-org/ngx-toastr/master /misc/documentation-assets/ngx-toastr-example.png "
26+ content ="https://raw.githubusercontent.com/openng-org/ngx-toastr/main /misc/documentation-assets/ngx-toastr-example.png "
2727 />
2828 <!-- Twitter -->
2929 < meta name ="twitter:card " content ="summary " />
3030 < meta name ="twitter:title " content ="@openng/ngx-toastr " />
3131 < meta
3232 name ="twitter:image:src "
33- content ="https://raw.githubusercontent.com/openng-org/ngx-toastr/master /misc/documentation-assets/ngx-toastr-example.png "
33+ content ="https://raw.githubusercontent.com/openng-org/ngx-toastr/main /misc/documentation-assets/ngx-toastr-example.png "
3434 />
3535 <!-- Open Graph general (Facebook, Pinterest & Google+) -->
3636 < meta property ="og:title " content ="@openng/ngx-toastr " />
3737 < meta
3838 property ="og:image "
39- content ="https://raw.githubusercontent.com/openng-org/ngx-toastr/master /misc/documentation-assets/ngx-toastr-example.png "
39+ content ="https://raw.githubusercontent.com/openng-org/ngx-toastr/main /misc/documentation-assets/ngx-toastr-example.png "
4040 />
4141 < meta property ="og:url " content ="https://ngx-toastr.vercel.app/ " />
4242 < meta property ="og:site_name " content ="@openng/ngx-toastr " />
You can’t perform that action at this time.
0 commit comments