You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
744 B

4 years ago
  1. <urban-filemanager>
  2. <div class="bucket-filemanager">
  3. <div>
  4. <div each={ file in props.files }>
  5. <urban-filemanager-file
  6. if={ file.is_file }
  7. file={ file }
  8. handleClick={ handleClick }
  9. handleMarked={ handleMarked }
  10. ></urban-filemanager-file>
  11. </div>
  12. </div>
  13. </div>
  14. <script>
  15. import axios from 'axios'
  16. import File from './file.riot'
  17. riot.register('urban-filemanager-file', File)
  18. export default {
  19. handleClick() {
  20. console.log('ddd')
  21. },
  22. handleMarked() {
  23. console.log('ddd')
  24. }
  25. }
  26. </script>
  27. </urban-filemanager>