MCPcopy Create free account
hub / github.com/adearriba/ShopifyCheckoutJS / toggle

Method toggle

src/Components/SectionComponent.js:121–125  ·  view source on GitHub ↗

* Toggle between hide and show

()

Source from the content-addressed store, hash-verified

119 * Toggle between hide and show
120 */
121 toggle()
122 {
123 if(this.isVisible) this.hide();
124 else this.show();
125 }
126
127}

Callers

nothing calls this directly

Calls 2

hideMethod · 0.95
showMethod · 0.95

Tested by

no test coverage detected