MCPcopy
hub / github.com/textAngular/textAngular / _compileHtml

Function _compileHtml

src/taBind.js:273–281  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

271
272 // in here we are undoing the converts used elsewhere to prevent the < > and & being displayed when they shouldn't in the code.
273 var _compileHtml = function(){
274 if(_isContentEditable) {
275 return element[0].innerHTML;
276 }
277 if(_isInputFriendly) {
278 return element.val();
279 }
280 throw ('textAngular Error: attempting to update non-editable taBind');
281 };
282
283 var selectorClickHandler = function(event){
284 // emit the element-select event, pass the element

Callers 3

_setViewValueFunction · 0.85
taBind.jsFile · 0.85
processpasteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected