feed-me icon indicating copy to clipboard operation
feed-me copied to clipboard

Trigger event from object, not static method

Open kristiansp opened this issue 4 years ago • 0 comments

When using behaviors to handle events, event won't fire when it is called with the static method, as the behavior is added dynamically, but when using this->trigger() it will, so I suggest to trigger it from the object itself. (If there's no specific reason to do it otherwise, perhaps all event triggers could be changed in the same way.)

Fixes #730

kristiansp avatar Aug 13 '20 10:08 kristiansp