mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
retire deprecated MouseEvent::InitMouseEvent (#34538)
Signed-off-by: Jay Wang <xdddxyyyxzzz123@gmail.com> Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <yuweiwu@pm.me>
This commit is contained in:
parent
4103421ba5
commit
dd2fc75b71
2 changed files with 31 additions and 20 deletions
|
@ -113,6 +113,10 @@ impl UIEvent {
|
|||
}
|
||||
self.detail.set(0_i32);
|
||||
}
|
||||
|
||||
pub fn set_detail(&self, detail_: i32) {
|
||||
self.detail.set(detail_);
|
||||
}
|
||||
}
|
||||
|
||||
impl UIEventMethods<crate::DomTypeHolder> for UIEvent {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue