MCPcopy Create free account
hub / github.com/cryptii/cryptii / getLibraryModalView

Method getLibraryModalView

src/Pipe.js:155–161  ·  view source on GitHub ↗

* Returns a lazily instantiated library modal view instance. * @return {ModalView} Library modal view

()

Source from the content-addressed store, hash-verified

153 * @return {ModalView} Library modal view
154 */
155 getLibraryModalView () {
156 if (this._libraryModalView === null) {
157 const library = this.getBrickFactory().getLibrary()
158 this._libraryModalView = new LibraryModalView(library)
159 }
160 return this._libraryModalView
161 }
162
163 /**
164 * Returns the number of bricks.

Callers 2

viewAddButtonDidClickMethod · 0.95

Calls 2

getBrickFactoryMethod · 0.95
getLibraryMethod · 0.80

Tested by

no test coverage detected