UNPKG

@oruga-ui/oruga-next

Version:

UI components for Vue.js and CSS framework agnostic

1 lines 528 B
{"version":3,"file":"useConfig-BoLnLsCX.mjs","sources":["../../src/composables/useConfig.ts"],"sourcesContent":["import { toValue } from \"vue\";\nimport { getOption } from \"@/utils/config\";\n\n/** Get the root config `teleportTarget`. */\nexport function getTeleportDefault(): HTMLElement | string {\n const option = getOption(\"teleportTarget\", \"body\");\n return toValue<HTMLElement | string>(option);\n}\n"],"names":[],"mappings":";;;AAIO,SAAS,qBAA2C;AACvD,QAAM,SAAS,UAAU,kBAAkB,MAAM;AACjD,SAAO,QAA8B,MAAM;AAC/C;"}