Closed benbahrenburg closed 7 years ago
This looks good overall, I like the extra createNew
function to solve this potential need. What specific need do you have of overriding actionButton
? The current implementation has the ability to customize the image and action, and I just was curious to see how you were using it and gauge how big of a need this is. Thanks!!
Closing due to lack of response and activity for some time. Feel free to reopen if you have more information about the specific need for this feature.
Hello,
Thanks for all of the work on this great library. I'm currently using this on one of my projects an need to override the actionButton button.
In the latest build the logic has been updated alittle on this. Before I sent a PR wanted to check what approach you might this is best.
The easiest is to make the actionButton public. This would allow the setting application to override.
I noticed you updated the create logic to use a new method. Pretty neat. Below is my take on how the calling application could pass in the actionButton as part of this approach.
What which strategy (if any) do you think falls most inline with your thinking?