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

Function printRequiredElementError

core/src/utils/logging/index.ts:43–45  ·  view source on GitHub ↗
(el: HTMLElement, ...targetSelectors: string[])

Source from the content-addressed store, hash-verified

41 * @param targetSelectors The selector or selectors that were not found.
42 */
43export const printRequiredElementError = (el: HTMLElement, ...targetSelectors: string[]) => {
44 return console.error(`<${el.tagName.toLowerCase()}> must be used inside ${targetSelectors.join(' or ')}.`);
45};

Callers 1

printIonContentErrorMsgFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected