Skip to content

BucketFront

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/scenery-phet/blob/main/js/bucket/BucketFront.ts for the most up-to-date information.

Overview

The front of a bucket (does not include the hole)

@author Jonathan Olson

Class BucketFront

import { BucketFront } from 'scenerystack/scenery-phet';

Constructor

new BucketFront( bucket : Bucket, modelViewTransform : ModelViewTransform2, providedOptions? : BucketFrontOptions )

Instance Methods

setLabel( labelNode : Node )

Set a scenery node to appear in front of the bucket.

dispose()

Instance Properties

bucket : Bucket

(readonly)

Type BucketFrontOptions

import type { BucketFrontOptions } from 'scenerystack/scenery-phet';

Source Code

See the source for BucketFront.ts in the scenery-phet repository.