mirror of
https://github.com/BorysLevytskyi/BitwiseCmd.git
synced 2025-12-23 21:22:48 +01:00
Implemented ability to emphasize bytes
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user