1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-11-29 22:17:29 +02:00

Feature/#221 mouse events (#237)

* Initial work

* Added MoveMouseByXY and ScrollByXY

* Fixed liniting issues
This commit is contained in:
Tim Voronov
2019-02-23 17:52:01 -05:00
committed by GitHub
parent efa0444c39
commit eb523f01cc
11 changed files with 479 additions and 18 deletions

View File

@@ -196,6 +196,12 @@ func (t *Object) ForEach(predicate ObjectPredicate) {
}
}
func (t *Object) MustGet(key String) core.Value {
val, _ := t.Get(key)
return val
}
func (t *Object) Get(key String) (core.Value, Boolean) {
val, found := t.value[string(key)]