--- sidebar_position: 3 --- # Take Or Gamble View ## Overview `Take Or Gamble View` is a UI component for the slot machine's spin feature. It extends the base `View` class and manages the display and user interactions related to taking winnings or gambling them. ## Description * Constructs a new `Take Or Gamble View` instance. * Invokes the base `View` constructor. * Source: [`take-or-gamble-view.js:5`](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/commit/7fbf58bf2ad8edec4258757b353151b638c96652/src/view/take-or-gamble-view.js#L5)