UNPKG

@oruga-ui/oruga-next

Version:

UI components for Vue.js and CSS framework agnostic

1 lines 565 B
{"version":3,"file":"useConfig-Zt3uf2uW.cjs","sources":["../../src/composables/useConfig.ts"],"sourcesContent":["import { toValue } from \"vue\";\nimport { getOption } from \"@/utils/config\";\n\n/** get the root config `teleportTarget` */\nexport function useTeleportDefault(): HTMLElement | string {\n const option = getOption(\"teleportTarget\", \"body\");\n return toValue(option) as HTMLElement | string;\n}\n"],"names":["getOption","toValue"],"mappings":";;;;AAIO,SAAS,qBAA2C;AACjD,QAAA,SAASA,OAAAA,UAAU,kBAAkB,MAAM;AACjD,SAAOC,IAAAA,QAAQ,MAAM;AACzB;;"}