UNPKG

@descope/sdk-mixins

Version:
9 lines (6 loc) 328 B
'use strict'; const getDescopeUiComponentsList = (template) => [ ...Array.from(template.content.querySelectorAll('*')).reduce((acc, el) => el.localName.startsWith('descope-') ? acc.add(el.localName) : acc, new Set()), ]; exports.getDescopeUiComponentsList = getDescopeUiComponentsList; //# sourceMappingURL=helpers.js.map