| 123456789101112131415161718192021 |
- # app/components/UI/AppLoader/index.coffee
- # Добавление стилей компонента
- if globalThis.stylFns and globalThis.stylFns['app/components/UI/AppLoader/index.styl']
- styleElement = document.createElement('style')
- styleElement.type = 'text/css'
- styleElement.textContent = globalThis.stylFns['app/components/UI/AppLoader/index.styl']
- document.head.appendChild(styleElement)
- else
- log '⚠️ Стили лоадера не найдены'
- module.exports =
- name: 'app-loader'
- props:
- loading:
- type: Boolean
- default: false
- render: (new Function '_ctx', '_cache', globalThis.renderFns['app/components/UI/AppLoader/index.pug'])()
|