Skip to content

Commit

Permalink
Merge pull request #172 from guardian/marji/carousel-interaction
Browse files Browse the repository at this point in the history
Add Service Interaction and disableArticleSwipe function
  • Loading branch information
marjisound authored Nov 25, 2024
2 parents 087cf74 + bc1eda3 commit ca23593
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/cyan-months-battle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"bridget": minor
---

Add Service Interaction and disableArticleSwipe function
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions thrift/native.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -196,3 +196,12 @@ service Navigation {
service Newsletters {
bool requestSignUp(1: string emailAddress, 2:string newsletterIdentityName)
}

service Interaction {
/**
* Notify the native layer to disable the article swipe feature.
*
* @param disableSwipe true if native needs to disable article swipe
*/
void disableArticleSwipe(1:bool disableSwipe)
}

0 comments on commit ca23593

Please sign in to comment.