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:
@@ -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)]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user