<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Nicola Taddei</title>
    <description>The latest articles on DEV Community by Nicola Taddei (@kken94).</description>
    <link>https://dev.to/kken94</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F338781%2F2ae96f2a-e91d-4158-b93b-a75aa2d8ba8f.jpeg</url>
      <title>DEV Community: Nicola Taddei</title>
      <link>https://dev.to/kken94</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kken94"/>
    <language>en</language>
    <item>
      <title>A complete angular progress bar ✨</title>
      <dc:creator>Nicola Taddei</dc:creator>
      <pubDate>Wed, 19 Aug 2020 13:46:41 +0000</pubDate>
      <link>https://dev.to/kken94/a-complete-angular-progress-bar-33ml</link>
      <guid>https://dev.to/kken94/a-complete-angular-progress-bar-33ml</guid>
      <description>&lt;p&gt;Hi guys,&lt;/p&gt;

&lt;p&gt;I think I created a great customizable progress-bar for angular2+.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F0mheciq4h8qvf0zg0zlr.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F0mheciq4h8qvf0zg0zlr.gif" alt="Screenshot" width="640" height="349"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  🧨 Features 🧨
&lt;/h1&gt;

&lt;h2&gt;
  
  
  &lt;em&gt;Classic features&lt;/em&gt; 🎁 :
&lt;/h2&gt;

&lt;p&gt;• Possibility to choose a bar, a spinner or both of them&lt;br&gt;
• Custom color&lt;br&gt;
• Custom height and diameter&lt;br&gt;
• Indeterminate bar like Material&lt;br&gt;
• Spinner speed&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;em&gt;Other features&lt;/em&gt; 🎆:
&lt;/h2&gt;

&lt;p&gt;• Possibility to show an overlay&lt;br&gt;
• Custom overlay value&lt;br&gt;
• &lt;strong&gt;Http interceptor&lt;/strong&gt; and &lt;strong&gt;urls filtering&lt;/strong&gt;&lt;br&gt;
• It supports &lt;strong&gt;multiple requests&lt;/strong&gt;. If during the bar progress another request is fired, bar will not reset and keep going until all requests are completed.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;em&gt;Killer feature&lt;/em&gt; 🎇:
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;It can be instantiated multiple times. Only the deepest one will be displayed&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Check it out 👉🏻&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fassets.dev.to%2Fassets%2Fgithub-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/kKen94" rel="noopener noreferrer"&gt;
        kKen94
      &lt;/a&gt; / &lt;a href="https://github.com/kKen94/ngx-progress" rel="noopener noreferrer"&gt;
        ngx-progress
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
       The most powerful and customizable progress bar for Angular ✨
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;
&lt;a class="mentioned-user" href="https://dev.to/kken94"&gt;@kken94&lt;/a&gt;/ngx-progress&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;&lt;a href="https://travis-ci.org/kKen94/ngx-progress" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/1681f5deb5cb5f40d49a26b69b8c199492c533550aacd2481c55c6d7bad1c756/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6b4b656e39342f6e67782d70726f67726573732f6d61737465723f7374796c653d666c61742d737175617265" alt="Build Status"&gt;&lt;/a&gt;
&lt;a href="https://www.npmjs.com/package/@kken94/ngx-progress" title="View this project on npm" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/f2e6161fc0ebdf93691711540b9c320a3e65b85315dde0371e0d330a1e3242c2/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f406b6b656e39342f6e67782d70726f67726573732e7376673f7374796c653d666c61742d737175617265" alt="npm version"&gt;&lt;/a&gt;
&lt;a href="https://api.codeclimate.com/v1/badges/53e353f983e519dfa7bc/maintainability" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/a8d482098cab4380fa5b04a018ce5348a81116e4c4702c7bffda323adb328825/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6d61696e7461696e6162696c6974792f6b4b656e39342f6e67782d70726f67726573732e7376673f7374796c653d666c61742d737175617265" alt="CodeClimate"&gt;&lt;/a&gt;
&lt;a href="https://www.codacy.com/manual/kKen94/ngx-progress?utm_source=github.com&amp;amp;utm_medium=referral&amp;amp;utm_content=kKen94/ngx-progress&amp;amp;utm_campaign=Badge_Grade" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/2661787869076cb094eec6666163ba20988e6770635376299077b50409f15027/68747470733a2f2f696d672e736869656c64732e696f2f636f646163792f67726164652f66626531613239646164323434386338613164666439363631656561376437393f7374796c653d666c61742d737175617265" alt="Codacy"&gt;&lt;/a&gt;
&lt;a href="https://github.com/prettier/prettier" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/97be20604d833ecbf2b0a9d3d17e3f0e29ae6de33b102c744849d0bf17f399e4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f64655f7374796c652d70726574746965722d6666363962342e7376673f7374796c653d666c61742d737175617265" alt="code style: prettier"&gt;&lt;/a&gt;
&lt;a href="https://github.com/semantic-release/semantic-release" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/5911cda1af7ce5c7b53de612a2203dff1379ff30078069ef0826b2abad6a3c7f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2532302532302546302539462539332541362546302539462539412538302d73656d616e7469632d2d72656c656173652d6531303037392e7376673f7374796c653d666c61742d737175617265" alt="semantic-release"&gt;&lt;/a&gt;
&lt;a href="http://opensource.org/licenses/MIT" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/8cf56a9a17b6dc6eafe9b6ae7c87958a065808643784afcaed94e3616436ea99/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6b4b656e39342f6e67782d70726f67726573733f7374796c653d666c61742d737175617265" alt="license"&gt;&lt;/a&gt;
&lt;a href="https://paypal.me/nicolataddei" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/2585b8eb6a09e1d622b0c82d69a35b5ee46d5332aacb43387aad6e87da9c59f6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f6e6174652d50617950616c2d626c75652e7376673f7374796c653d666c61742d737175617265" alt="Donate"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;NgxProgress is customizable Angular library for showing a progress bar during http request and/or routing change (or all you want) and prevent user interaction.&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Changelog&lt;/h2&gt;
&lt;/div&gt;

&lt;p&gt;&lt;a href="https://github.com/kKen94/ngx-progressCHANGELOG.md" rel="noopener noreferrer"&gt;Please read the changelog&lt;/a&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Installation&lt;/h2&gt;
&lt;/div&gt;

&lt;p&gt;If you use &lt;a href="https://www.npmjs.com/package/npm" rel="nofollow noopener noreferrer"&gt;npm&lt;/a&gt;&lt;/p&gt;

&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;npm install &lt;a class="mentioned-user" href="https://dev.to/kken94"&gt;@kken94&lt;/a&gt;/ngx-progress --save&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;If you use &lt;a href="https://yarnpkg.com/" rel="nofollow noopener noreferrer"&gt;yarn&lt;/a&gt;&lt;/p&gt;

&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;yarn add &lt;a class="mentioned-user" href="https://dev.to/kken94"&gt;@kken94&lt;/a&gt;/ngx-progress&lt;/pre&gt;

&lt;/div&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Usage&lt;/h2&gt;

&lt;/div&gt;

&lt;p&gt;Choose the most suitable module for you.&lt;/p&gt;

&lt;p&gt;There are two modules:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;NgxProgressModule&lt;/strong&gt; (manage progress bar by yourself)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;NgxProgressHttpModule&lt;/strong&gt; (import progress bar and intercept http requests)&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;Warning&lt;/strong&gt;: to use http module import that in your app.module.ts, then import NgxProgressModule where you want to use progress bar.&lt;/p&gt;




&lt;div class="snippet-clipboard-content notranslate position-relative overflow-auto"&gt;&lt;pre class="notranslate"&gt;&lt;code&gt;import { NgxProgressHttpModule } from '@kken94/ngx-progress';

@NgModule({
  declarations: [AppComponent],
  imports: [
    ...
    NgxProgressHttpModule,
    ...
  ],
  bootstrap: [AppComponent],
})
export class AppModule {}
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;and place it into the element you want to cover.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; If you want to use overlay be sure that the parent element has position:relative
Overlay works with &lt;code&gt;position:absolute&lt;/code&gt;, &lt;code&gt;top:0&lt;/code&gt;, &lt;code&gt;left:0&lt;/code&gt;&lt;/p&gt;
&lt;div class="snippet-clipboard-content notranslate position-relative overflow-auto"&gt;
&lt;pre class="notranslate"&gt;&lt;code&gt;&amp;lt;div style="position:&lt;/code&gt;&lt;/pre&gt;…&lt;/div&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/kKen94/ngx-progress" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;



&lt;p&gt;Would you like to help me test it and find bugs? 😁&lt;/p&gt;

</description>
      <category>angular</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
