
An ember-cli addon for implementing URL-first modals.
The Ember Routable Modal is a powerful addon designed to enhance user experience by adding URL-first modals to your Ember.js applications. This feature allows for seamless navigation to modals without losing your place on the current page, making it especially useful for lightboxes and photo viewers that require a user-friendly approach to displaying content. With support for asynchronous loading states and customizable behaviors, this addon is a great asset for developers looking to create dynamic and interactive applications.
Setting up the Ember Routable Modal is straightforward. By integrating it into your application, you can easily scaffold modal routes and apply default styles, ensuring a clean and maintainable codebase. Whether you want to customize modal behavior or create unique dialog components, this addon offers the flexibility and power necessary for modern web development.
URL-First Modals: Navigate to modals within the route tree without losing your current page state.
Easy Installation: Requires Ember.js version 2.12 or higher and minimal setup in your application template.
Scaffold Modal Routes: Quickly generate modal routes using the modal-route generator, sharing the same syntax as built-in route generators.
Supports Loading States: Display loading substates with a template during asynchronous operations, enhancing user experience during data fetching.
Flexible Closing Options: Close modals either programmatically using the current-routed-modal service or through the {{routable-modal-close-button}} helper component.
Customizable Styles: Override default element classes by configuring the addon settings in your environment configuration file.
Testing Capabilities: Comes with built-in test commands to ensure your modals function correctly across different versions of Ember.
Lightweight Default Styles: Includes a minimal Sass stylesheet for easy integration, requiring only ember-cli-sass for seamless styling.

Ember.js is a productive, battle-tested JavaScript framework for building modern web applications. It includes everything you need to build rich UIs that work on any device.