MCPcopy Create free account
hub / github.com/NUKnightLab/StoryMapJS / _initLayout

Method _initLayout

src/js/ui/Message.js:94–103  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92 /* Private Methods
93 ================================================== */
94 _initLayout() {
95
96 // Create Layout
97 this._el.message_container = Dom.create("div", "vco-message-container", this._el.container);
98 this._el.loading_icon = Dom.create("div", this.options.message_icon_class, this._el.message_container);
99 this._el.message = Dom.create("div", "vco-message-content", this._el.message_container);
100
101 this._updateMessage();
102
103 }
104
105 _initEvents() {
106 DomEvent.addListener(this._el.container, 'click', this._onMouseClick, this);

Callers 1

constructorMethod · 0.95

Calls 2

_updateMessageMethod · 0.95
createMethod · 0.80

Tested by

no test coverage detected