~arno.b/malai/malaiGithub

« back to all changes in this revision

Viewing changes to malai-core/org.malai.ts/test/interaction/StubEvents.ts

  • Committer: arno_b
  • Author(s): digwendal
  • Date: 2018-05-30 10:02:19 UTC
  • Revision ID: git-v1:afa6766b550be2c2034859e45a459076da2bbc8a
Fix typo, adding event creation for testing and integration of TextInputChanged interaction (need to fix)

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
        view: window
48
48
    });
49
49
}
 
50
 
 
51
export function createEvent(type: string): Event {
 
52
    return new Event(type, {
 
53
        bubbles: true,
 
54
        scoped: true,
 
55
        cancelable: false
 
56
    });
 
57
}