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.
CoreID/app/assets/app/InvokeAction.component.js

18 lines
481 B

import { Component } from '../lib/vues6/vues6.js'
import { action_service } from './service/Action.service.js';
const template = `
<div></div>
`
export default class InvokeActionComponent extends Component {
static get selector() { return 'coreid-invoke-action' }
static get template() { return template }
static get props() { return ['action'] }
async vue_on_create() {
console.log('IAC', this)
await action_service.perform(this.action)
}
}