Skip to content

Commit

Permalink
doc: add cancelOnClick doc (#668)
Browse files Browse the repository at this point in the history
  • Loading branch information
luapascoal authored May 6, 2024
1 parent b3b3c98 commit 496df9c
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,11 @@ private ViewConfigBuilder addOption(ViewConfig.Option<?> option) {
return this;
}

/**
* Cancels any item click by the player while the view is open.
*
* @return This configuration builder.
*/
public ViewConfigBuilder cancelOnClick() {
return addOption(ViewConfig.CANCEL_ON_CLICK);
}
Expand Down

0 comments on commit 496df9c

Please sign in to comment.