Skip to content

Commit

Permalink
Merge pull request #52 from Mastersam07/fix-swipe-elements
Browse files Browse the repository at this point in the history
fix: swipe elements
  • Loading branch information
Mastersam07 authored Jan 25, 2025
2 parents 0b1e2a7 + 2836a0f commit 910136a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
14 changes: 1 addition & 13 deletions schema/schema.v0.json
Original file line number Diff line number Diff line change
Expand Up @@ -2678,19 +2678,7 @@
"from": {
"type": "object",
"title": "swipe.from",
"additionalProperties": false,
"properties": {
"id": {
"title": "swipe.from.id",
"type": "string",
"description": "ID of the element to swipe from."
},
"text": {
"title": "swipe.text",
"type": "string",
"description": "Text of the element to swipe from."
}
}
"$ref": "#/$defs/Element"
},
"start": {
"title": "swipe.start",
Expand Down
3 changes: 2 additions & 1 deletion tests/examples/extreme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ onFlowComplete:
- swipe:
from:
id: "feeditem_identifier"
index: 0
direction: UP
- swipe:
direction: LEFT
Expand Down Expand Up @@ -393,4 +394,4 @@ onFlowComplete:
- waitForAnimationToEnd:
timeout: 10000
label: 'Wait for the animation to end'
optional: false
optional: false

0 comments on commit 910136a

Please sign in to comment.