MCPcopy
hub / github.com/NUKnightLab/TimelineJS3 / onLoaded

Method onLoaded

src/js/media/Media.js:234–244  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

232 /* Events
233 ================================================== */
234 onLoaded(error) {
235 this._state.loaded = true;
236 this.fire("loaded", this.data);
237 if (this.message) {
238 this.message.hide();
239 }
240 if (!(error || this.options.background)) {
241 this.showMeta();
242 }
243 this.updateDisplay();
244 }
245
246 onMediaLoaded(e) {
247 this._state.media_loaded = true;

Callers 6

_loadMediaMethod · 0.95
loadErrorDisplayMethod · 0.95
_initLayoutMethod · 0.45
_initLayoutMethod · 0.45
_initLayoutMethod · 0.45
_initLayoutMethod · 0.45

Calls 4

showMetaMethod · 0.95
updateDisplayMethod · 0.95
fireMethod · 0.80
hideMethod · 0.45

Tested by

no test coverage detected