Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Stackable Modal component #32

@JonCognioDigital

Description

@JonCognioDigital

Coming from Angular, the Angular-UI Bootstrap library has a modal service which allows you to create modals easily. If you create a modal with a modal already open then they stack and you can just close the top one. The stack is exposed as another service so it's easy to play with it. It's also easy to load content (template+controller) into the modal and link it in to the UI-router to keep track of which modals are open on which route or close the top one when the back button is clicked etc.

I've seen some basic modal components for Vue but it seems to be missing a proper robust solution.

Personally, I don't use Bootstrap so I'd prefer it to have some basic CSS which is easy to theme, but not be hardwired into Bootstrap in any way.

https://angular-ui.github.io/bootstrap/#!#modal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions