summaryrefslogtreecommitdiff
path: root/src/lib/elm_focusable.eo
blob: 4d8a831fa4a579ed084c0b96c604d9a0ebb8d657 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
interface Elm.Focusable {
    [[Implemented by objects which may be focusable]]
    legacy_prefix: null;
    methods {
        @property focusable {
            [[returns true if this object is focusable]]
            values {
                focusable : bool;
            }
            set {

            }
            get {

            }
        }
        @property focus {
            [[returnds if this object is currently focused]]
            values {
                focus : bool;
            }
            set {

            }
            get {

            }
        }
    }
    events {
        focus,on; [[called when the focus is added to this object]]
        focus,off; [[called when the focus is remved from this object]]
    }
}