treasure-data / angular-treasure-overlay-spinner

Add a spinner to an element when binding is truthy.
https://treasure-data.github.io/angular-treasure-overlay-spinner/
MIT License
36 stars 17 forks source link

How to customize overlay contents? #4

Open lcarva opened 8 years ago

lcarva commented 8 years ago

Is there a way to provide custom content to the overlay container? Such as a "Loading..." message?

noherczeg commented 8 years ago

I'd like to know this as well.

GregePorter commented 8 years ago

@lcarva @noherczeg , I know this is old but it seems that the constants section in the treasure-overlay-spinner.js (~line 13) is where you could add your custom message.

Put your custom message in treasure-overlay-spinner-container, next to the treasure-overlay-spinner. Adjust the CSS as you will to format it correctly.

noherczeg commented 8 years ago

@GregePorter Thanks, will try!

midhunadarvin commented 8 years ago

Hi, It would be really helpful if we were able to add our own custom html in the treasure-overlay-spinner-container.

For example i would like to add circular progress bars given in the following link. https://material.angularjs.org/latest/demo/progressCircular

Could we add configuration options for this library as a new feature?