-
Notifications
You must be signed in to change notification settings - Fork 336
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Make livewire fire the right annotation completed event
- Loading branch information
1 parent
16a8e9d
commit 7285fd6
Showing
12 changed files
with
117 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/** | ||
* ChangeTypes defines the types of changes occurring on annotation and | ||
* segmentation data. | ||
*/ | ||
enum ChangeTypes { | ||
/** | ||
* Interaction events are done when the user is actively interacting with | ||
* an annotation, and probably means the event shouldn't be handled/used. | ||
*/ | ||
Interaction = 'Interaction', | ||
/** | ||
* HandlesUpdated occurs when the handle data is added or removed, or moved around | ||
*/ | ||
HandlesUpdated = 'HandlesUpdated', | ||
/** | ||
* StatsUpdated occurs when the stats are updated/calculated. This can be used | ||
* to ignore stats calculations changes occurring on initial load, while still | ||
* rendering other updates. | ||
*/ | ||
StatsUpdated = 'StatsUpdated', | ||
/** | ||
* InitialSetup occurs when an annotation has been created initially and | ||
* has the first render/data calculation being applied. | ||
*/ | ||
InitialSetup = 'InitialSetup', | ||
/** | ||
* Completed occurs only for the annotation completed event, just to identify it | ||
*/ | ||
Completed = 'Completed', | ||
} | ||
|
||
export default ChangeTypes; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.