Larkinabout / fvtt-challenge-tracker

An interactive aid to track successes and failures in challenges à la D&D 4e-inspired skill challenges and Blades in the Dark progress clocks.
MIT License
5 stars 2 forks source link

Function to execute and/or hook on closing the tracker. #5

Closed SalieriC closed 2 years ago

SalieriC commented 2 years ago

It would be really great to have a hook called when the tracker is closed, possibly even a way to execute a function that is executed when it is closed, provided when it is created. That would allow users to set up flags for opening the tracker with the same current when they left the tracker. That'd open up a lot of opportunities.

Larkinabout commented 2 years ago

I'll look into this alongside development on persisting Challenge Trackers across sessions.

Larkinabout commented 2 years ago

Added in release 0.9.