Skip to content

Commit

Permalink
0.0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
h.u.g.u.rp committed Oct 21, 2022
1 parent efb0294 commit 7ded6eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@radio4000/components",
"version": "0.0.10",
"version": "0.0.11",
"description": "web components for radio4000.com",
"main": "src/index.js",
"module": "dist/index.js",
Expand Down
6 changes: 3 additions & 3 deletions src/components/r4-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,14 @@ export default class R4Form extends HTMLElement {
this.dispatchEvent(submitEvent)

/*
Example flow in a component extending this one:
// Example flow in a component extending this one
event.stopPropagation()
event.preventDefault()
this.disableForm()
await this.myAsyncMethod()
const {error, data} = await this.myAsyncMethod()
this.resetForm()
this.enableForm()
super.handleSubmit({error,data,})
super.handleSubmit({error,data})
*/
}

Expand Down

0 comments on commit 7ded6eb

Please sign in to comment.