示例#1
0
		public DomEventListener AddEventListener (string type, DomEventListenerHandler handler, bool useCapture)
		{
			if (handler == null)
				throw new ArgumentNullException ("handler");
			var obj = new DomNodeEventProxy (this, handler);
			AddEventListener (type, obj, useCapture);
			return obj;
		}
示例#2
0
        public DomEventListener AddEventListener(string type, DomEventListenerHandler handler, bool useCapture)
        {
            if (handler == null)
            {
                throw new ArgumentNullException("handler");
            }
            var obj = new DomNodeEventProxy(this, handler);

            AddEventListener(type, obj, useCapture);
            return(obj);
        }