index.coffee 688 B

1234567891011121314151617181920
  1. # vue/app/shared/SuccessModal/index.coffee
  2. document.head.insertAdjacentHTML('beforeend','<style type="text/tailwindcss" component="SuccessModal">'+stylFns['app/shared/SuccessModal/index.styl']+'</style>')
  3. module.exports =
  4. name: 'SuccessModal'
  5. render: (new Function '_ctx', '_cache', renderFns['app/shared/SuccessModal/index.pug'])()
  6. props:
  7. isVisible:
  8. type: Boolean
  9. default: false
  10. title:
  11. type: String
  12. default: 'Успешно!'
  13. content:
  14. type: String
  15. required: true
  16. mounted: ->
  17. debug.log "SuccessModal component mounted"
  18. methods: {}
  19. emits: ['update:isVisible']