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.

17 lines
308 B

import { cloneDeep } from 'lodash'
2 years ago
tag app-prompt
2 years ago
def get_input d
data = cloneDeep d
2 years ago
active = yes
let result = await new Promise! do |resolve|
self.addEventListener('end') do |e|
self.removeEventListener('end', this)
resolve(e.detail)
active = no
result
def end
emit('end', data)