mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[FIX] config: make enableTransitions work on components (#773)
Fun: the transition is handled at two different places, once for dom nodes, once for components. Obviously, I only applied the change to the first case and forgot about the second.
This commit is contained in:
@@ -433,7 +433,7 @@ export class Component<Props extends {} = any, T extends Env = Env> {
|
||||
* up to the parent DOM nodes. Thus, it must be called between mounted() and
|
||||
* willUnmount().
|
||||
*/
|
||||
trigger<T=any>(eventType: string, payload?: T) {
|
||||
trigger<T = any>(eventType: string, payload?: T) {
|
||||
this.__trigger<T>(this, eventType, payload);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user