loading-bar icon indicating copy to clipboard operation
loading-bar copied to clipboard

ldBar doesn't appear in angular 2 app

Open zeus1200 opened this issue 7 years ago • 4 comments

Hi, I have an angular 2 app. I've tried to user loading bar, but it doesn't work.

In my index.html I import js and css files

<link rel="stylesheet" type="text/css" href="plugins/loading.io/loading-bar.css"> <script type="text/javascript" src="plugins/loading.io/loading-bar.js"></script>

and in my experience.component.html I load the bar like this

<div class="ldBar" data-value="50"></div>

but nothing happens. I tried it on a single html file, and works fine.

PS: Sorry for my english

PS2: I'm using angular quickstart proyect

zeus1200 avatar Jul 16 '17 23:07 zeus1200

do you have a sample repo to play with which I could reproduce this issue? I'm not quite familiar with Angular2, and I just tried the quickstart project, ldBar looks ok for me.

zbryikt avatar Sep 07 '17 14:09 zbryikt

I am using ionic and i couldnt import loading-bar too

lastpeony avatar Jan 06 '18 19:01 lastpeony

Any plan to support angular? I am able to inject, but not able to update progress values.

saurabh73 avatar Apr 27 '18 07:04 saurabh73

I've published an angular-loading-bar package on npm, with sample code / usage document available here: http://github.com/loadingio/angular-loading-bar

can you guys try if it works?

zbryikt avatar Jun 25 '18 07:06 zbryikt