Implemented ability to emphasize bytes

This commit is contained in:
Borys Levytskyi
2015-04-03 23:02:10 +03:00
parent 5e8e5eb7ed
commit d6e6f39688
5 changed files with 44 additions and 6 deletions

View File

@@ -74,4 +74,14 @@
app.component('resultView', resultViewController);
app.controller('resultViewCtrl', resultViewController);
app.controller('configPanelCtrl', {
onViewAttached: function (){
var chk = this.viewElement.querySelector('#displayBytes');
chk.checked = app.emphasizeBytes;
chk.addEventListener('change', function(evt){
app.emphasizeBytes = evt.srcElement.checked === true;
})
}
});
})(window.app, window.is);