UNPKG

@shapediver/viewer.session

Version:

This is the npm package for the ShapeDiver Viewer Session API. For more information on ShapeDiver, please visit our [homepage](https://shapediver.com/).

16 lines 975 B
import { IDraggingParameter } from "@shapediver/viewer.session-engine.session-engine"; import { IDraggableObject, InteractionParameterSettingsType, RestrictionDefinition } from "@shapediver/viewer.shared.types"; import { IDraggingParameterApi } from "../../interfaces/parameter/IDraggingParameterApi"; import { ParameterApi } from "./ParameterApi"; export declare class DraggingParameterApi extends ParameterApi<string> implements IDraggingParameterApi { #private; constructor(parameter: IDraggingParameter); get draggingColor(): string | undefined; get hover(): boolean | undefined; get hoverColor(): string | undefined; get interactionType(): InteractionParameterSettingsType; get objects(): IDraggableObject[] | undefined; get restrictions(): RestrictionDefinition[] | undefined; } export declare const isDraggingParameterApi: (obj: unknown) => obj is IDraggingParameterApi; //# sourceMappingURL=DraggingParameterApi.d.ts.map