Skip to content

Toggle modal with button instead of link #2463

Answered by c-gross
taiwanleaftea asked this question in Q&A
Discussion options

You must be logged in to vote

ModalToggle is a button (class ModalToggle extends Button)

Guess you want it to look more like a button?
Try

ModalToggle::make('Launch demo modal')
->modal('exampleModal')
->method('action')
->class('btn btn-success')
->icon('full-screen')

Adjust the css button class as you need.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by taiwanleaftea
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants