MCPcopy
hub / github.com/tabulator-tables/tabulator / bind

Method bind

src/js/modules/Localize/Localize.js:166–174  ·  view source on GitHub ↗
(path, callback)

Source from the content-addressed store, hash-verified

164
165 //set update binding
166 bind(path, callback){
167 if(!this.bindings[path]){
168 this.bindings[path] = [];
169 }
170
171 this.bindings[path].push(callback);
172
173 callback(this.getText(path), this.lang);
174 }
175
176 //iterate through bindings and trigger updates
177 _executeBindings(){

Callers 15

Comms.spec.jsFile · 0.45
Localize.spec.jsFile · 0.45
Popup.spec.jsFile · 0.45
constructorMethod · 0.45
initializeMethod · 0.45
initializeMethod · 0.45
initializeMethod · 0.45
downloadMethod · 0.45
initializeMethod · 0.45
constructorMethod · 0.45
_onRenderedMethod · 0.45

Calls 1

getTextMethod · 0.95

Tested by

no test coverage detected