MCPcopy Index your code
hub / github.com/ionic-team/ionic-framework / create

Function create

core/src/utils/overlays.ts:57–59  ·  view source on GitHub ↗
(options: Opts)

Source from the content-addressed store, hash-verified

55const createController = <Opts extends object, HTMLElm>(tagName: string) => {
56 return {
57 create(options: Opts): Promise<HTMLElm> {
58 return createOverlay(tagName, options) as any;
59 },
60 dismiss(data?: any, role?: string, id?: string) {
61 return dismissOverlay(document, data, role, tagName, id);
62 },

Callers

nothing calls this directly

Calls 1

createOverlayFunction · 0.85

Tested by

no test coverage detected