Fix the toggle event (#4206)
This commit is contained in:
1 parent
ffce3a7512
commit
77d10a40e3
2 files changed
+5
-1
No files matched your search
@@ -93,7 +93,8 @@ pub fn event_bubbles(evt: &str) -> bool {
|
||||
"animationend" => true,
|
||||
"animationiteration" => true,
|
||||
"transitionend" => true,
|
||||
"toggle" => true,
|
||||
"toggle" => false,
|
||||
"beforetoggle" => false,
|
||||
"mounted" => false,
|
||||
"visible" => false,
|
||||
_ => true,
|
||||
|
||||
@@ -85,4 +85,7 @@ impl_event! {
|
||||
|
||||
/// ontoggle
|
||||
ontoggle
|
||||
|
||||
/// onbeforetoggle
|
||||
onbeforetoggle
|
||||
}
|
||||
Reference in new issue
Block a user