How do I call toggle on a modal?
For instance I have the following
<BSModal DataId="modal1">
<MyComponent></MyComponent>
</BSModal>
@code{
public async Task Show()
{
//toggle modal1
}
}
I want to do some processing in Show() and set some parameters in MyComponent etc then show the modal. All the examples simply trigger the modal from a button click.
How do I call toggle on a modal?
For instance I have the following
I want to do some processing in Show() and set some parameters in MyComponent etc then show the modal. All the examples simply trigger the modal from a button click.