mirror of
https://github.com/appwrite/appwrite
synced 2026-05-02 10:57:18 +00:00
15 lines
309 B
JavaScript
15 lines
309 B
JavaScript
|
|
(function(window) {
|
||
|
|
"use strict";
|
||
|
|
|
||
|
|
window.ls.container.get("view").add({
|
||
|
|
selector: "data-forms-document-preview",
|
||
|
|
controller: function(element, container, search) {
|
||
|
|
|
||
|
|
element.addEventListener('change', function() {
|
||
|
|
console.log(element.value);
|
||
|
|
});
|
||
|
|
|
||
|
|
}
|
||
|
|
});
|
||
|
|
})(window);
|