Show busy/loading indicators on any promise, or on any Observable's subscription.
Angular 2 Busy is a versatile tool designed to enhance user experience by providing clear loading indicators during asynchronous operations. Built on Angular 4.0.1, it enables developers to easily integrate visual cues across any promise or observable subscription, offering flexibility and clarity in the user interface. The project, rewritten from the original angular-busy, brings additional features specifically tailored for the Angular 2 environment.
This library is perfect for anyone looking to improve their application’s responsiveness and usability by allowing users to understand when processes are ongoing. With simple directives and customizable options, Angular 2 Busy makes it easy to implement busy indicators without hefty configurations.
Promise and Observable Support: Easily show loading indicators for promises and observable subscriptions, allowing for seamless integration into any application flow.
Flexible Syntax: Use the ngBusy directive with promises, observable subscriptions, or even an array of them, granting developers great versatility in implementing the functionality.
Customizable Messages: Display messages alongside the loading indicator, which can be customized to reflect ongoing processes, enhancing user feedback.
Backdrop Option: Choose to show a faded backdrop behind the indicator for better visibility and focus on the loading process.
Template Customization: Override the default template for the busy indicator by providing a custom template string, allowing for a tailored look that fits with your application’s design.
Delay and Minimum Duration Settings: Set delays before displaying the indicator and maintain its visibility for a minimum time, ensuring that users see feedback even on quick operations.
Easy Integration: Import the BusyModule into your root application module effortlessly and start using it with minimal setup.
Override Default Options: Customize default settings of indicators by configuring the BusyModule provider, making it adaptable to different application needs.