extends FeathersControl › MeasureSprite › ValidatingSprite
A container that displays primary
content in the center with a
that opens and closes from one of the four edges of the container.
Dispatched when the drawer has completely opened.
Dispatched when the drawer has completely closed.
Dispatched when an open or close action is cancelled before completing.
Dispatched when the drawer starts opening. This event may be cancelled.
Dispatched when the drawer starts closing. This event may be cancelled.
Determines how the drawer container will set its own size when its dimensions (width and height) aren't set explicitly.
In the following example, the drawer container will be sized to match the stage:
drawer.autoSizeMode = STAGE;
Determines if the drawer may be closed by clicking the modal overlay.
The primary content to display in the container.
The drawer that may be opened and closed.
A display object to display below the drawer and above the primary content when the drawer is opened. Blocks mouse and touch events from reaching the primary content.
Determines if mouse events should be treated like touch events when detecting a pull gesture that opens or closes a drawer.
Determines if the drawer may be closed by swiping it.