MCPcopy Create free account
hub / github.com/ionic-team/ionic-framework / cancel

Method cancel

core/src/components/datetime/datetime.tsx:600–606  ·  view source on GitHub ↗
(closeOverlay = false)

Source from the content-addressed store, hash-verified

598 */
599 @Method()
600 async cancel(closeOverlay = false) {
601 this.ionCancel.emit();
602
603 if (closeOverlay) {
604 this.closeParentOverlay(CANCEL_ROLE);
605 }
606 }
607
608 /**
609 * Returns the default parts the datetime falls back to when no value is set:

Callers 3

renderFooterMethod · 0.95
datetime.e2e.tsFile · 0.45
cleanUpElementsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected