Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show a Modal using an object as modal parameters #583

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

jlchavez
Copy link

This allows to show a modal with a set of parameters from an anonymous object.

ModalService.Show<LocationEdit>("Edit Business Location", new { Item!.Id })

This allows to show a modal with a set of parameters from an anonymous object.
More friendly styles for the header of the modal dialog, which aligns the content on the vertical axis and any botton align to the right.
This allows the javascript to be located on a CDN or shared location for server caching and/or sharing between multiple apps, or that the path can be customized for the app automatically base on the BaseUri found in NavigationManager
Fix to package references for the previous commit.
Instead of fully customizing the title, allow to inject a RenderFragment in the title bar between the title and the close button, for faster customization and maintaining the same look & feel.

<ModalHeader>
    <RefreshButton class="tool" OnClick="RefreshAsync" />
</ModalHeader>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant