Back to Website
Show / Hide Table of Contents

Class SurfaceManager

Package: @aurigma/design-atoms

Constructors

(constructor)(_productHandler)

Constructs a new instance of the SurfaceManager class

Declaration
constructor(_productHandler: ProductHandler);
Parameters
Type Name Description
ProductHandler _productHandler

Methods

getNextSurface(spinIndex)

Declaration
getNextSurface(spinIndex?: number): Promise<Surface>;
Parameters
Type Name Description
number spinIndex
Returns
Type Description
Promise<Surface>

switchSurfaceBackward()

Declaration
switchSurfaceBackward(): Promise<void>;
Returns
Type Description
Promise<void>

switchSurfaceForward()

Declaration
switchSurfaceForward(): Promise<void>;
Returns
Type Description
Promise<void>

switchToNextSurface()

Declaration
switchToNextSurface(): void;
Returns
Type Description
void

switchToSurface(newSurface)

Declaration
switchToSurface(newSurface: Surface): Promise<void>;
Parameters
Type Name Description
Surface newSurface
Returns
Type Description
Promise<void>
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback