Add custom button #80
-
Is there a way to have it add a custom button to the button set and link to a function? For example: for a puzzle with specially marked cells, have a custom button "Get Marked Cells" that pops up the content of those cells? I know this could be done in the preamble section or similar, but I'd like it be in the buttons group and follow the button formatting. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Sure, I've done it myself in this puzzle. You do it from the
|
Beta Was this translation helpful? Give feedback.
Sure, I've done it myself in this puzzle. You do it from the
customizeExolve()
method that gets called automatically when usingcreateExolve()
(theExolve(...)
constructor also provides a parameter for such a function, if you're using the constructor directly).