×
=0) { let js = text.slice(pos1, pos2); + '<\/' + "script" + '>'; arrText.push(js); // next pos1 = pos2; continue; } } } break; } return arrText; } function OpenDialog(parentDiv, urlContent) { parentDiv = document.getElementById('modal-background'); // new !!!!!!! parentDiv.appendChild(document.getElementById('modal-template')); document.getElementById('modal-background').style.display = "block"; document.getElementById('modal-template').style.display = "flex"; // !!!!! document.getElementById('modal-body').innerHTML = ""; post_url(urlContent, "", function(text_from_server) { var element = document.getElementById('modal-body'); element.innerHTML = text_from_server; // add scripts var arrJSText = get_scripts(text_from_server); for (var i=0; i
dir.by
Search
Programming, development, testing
→
Knockout.js - JavaScript библиотека для свзяывания HTML элемента с js переменной
→
Новый (custom) data-bind в Knockout.js
Looked at
2418
times
Новый (custom) data-bind в Knockout.js
last updated: 21 February 2020
Официальная документация:
knockoutjs.com/documentation/custom-bindings.html
← Previous topic
observable computed
Next topic →
Книги
Your feedback ... Comments ...
Your Name
Your comment
(www links can only be added by a logged-in user)
+ Picture
Объявления
Объявления
•
Скачиваем knockout
•
Свзяываем HTML элемент с моделью
•
pureComputed
•
observable computed
•
Новый (custom) data-bind в Knockout.js
•
Книги
Ваши вопросы присылайте по почте:
info@dir.by