MCPcopy
hub / github.com/mdbootstrap/TW-Elements / getOrCreateInstance

Method getOrCreateInstance

src/js/free/forms/input.js:604–609  ·  view source on GitHub ↗
(element, config = {})

Source from the content-addressed store, hash-verified

602 }
603
604 static getOrCreateInstance(element, config = {}) {
605 return (
606 this.getInstance(element) ||
607 new this(element, typeof config === "object" ? config : null)
608 );
609 }
610}
611
612export default Input;

Callers 15

carouselInterfaceMethod · 0.45
jQueryInterfaceMethod · 0.45
_initMethod · 0.45
jQueryInterfaceMethod · 0.45
jQueryInterfaceMethod · 0.45
jQueryInterfaceMethod · 0.45
jQueryInterfaceMethod · 0.45
dataApiKeydownHandlerMethod · 0.45
jQueryInterfaceMethod · 0.45
jQueryInterfaceMethod · 0.45
showMethod · 0.45

Calls 1

getInstanceMethod · 0.95

Tested by

no test coverage detected