I have a DIV like this
<div id="debug">Debug</div>
I have an event handler for click event like this
WinJS.Utilities.query('#debug').listen('click',
function () {
WinJS.Utilities.addClass(this, 'red');
});
Inside the handler this refers to HTMLElement while i want to be converted to queryCollection so that i can do something like this
this.addClass('red'); //'addClass' is method of query collection