first step to js

This commit is contained in:
csf
2022-01-05 18:31:49 +08:00
committed by open-trade
parent 7dadf3da7a
commit 2a18d7f77d
8 changed files with 746 additions and 722 deletions

View File

@@ -75,7 +75,7 @@ impl Deref for Handler {
impl sciter::EventHandler for Handler {
fn get_subscription(&mut self) -> Option<EVENT_GROUPS> {
Some(EVENT_GROUPS::HANDLE_BEHAVIOR_EVENT)
Some(EVENT_GROUPS::HANDLE_METHOD_CALL | EVENT_GROUPS::HANDLE_SCRIPTING_METHOD_CALL | EVENT_GROUPS::HANDLE_BEHAVIOR_EVENT)
}
fn attached(&mut self, root: HELEMENT) {