Beispiel #1
0
        public ISyncDom On(string events, Action <LMTEventArgs> handler)
        {
            var id = UICallBacksStorage.Add(events, _selector, handler);

            Invoke <object>("LMTOn", _selector, events, id);
            return(this);
        }
Beispiel #2
0
        public async Task <IAsyncDom> On(string events, Action <LMTEventArgs> handler)
        {
            var id = UICallBacksStorage.Add(events, _selector, handler);

            await InvokeAsync <object>("LMTOn", _selector, events, id);

            return(this);
        }