Class EditSketchWorkflowModel<T>
Type Parameters
- T = Record<string, unknown>
Constructors
Properties
Methods
dirty
- dirty(): boolean
Returns boolean
discard
- discard(): void
Returns void
redo
- redo(): boolean
Returns boolean
setId
- setId(id): this
Returns this
setSketchGeometry
- setSketchGeometry(tool, geometry): this
Returns this
setSnapping
- setSnapping(config): this
Returns this
setValue
- setValue(fieldName, value): this
Parameters
- fieldName: string
- value: unknown
Returns this
setValues
- setValues(values): this
Returns this
stageAttachmentAdd
- stageAttachmentAdd(attachment, options?): this
Parameters
- attachment: string | Blob | File
- options: {
contentType?: string;
name?: string;
parentId?: FeatureId;
} = {}OptionalcontentType?: string
Optionalname?: string
OptionalparentId?: FeatureId
Returns this
stageAttachmentDelete
- stageAttachmentDelete(attachmentIds, options?): this
Returns this
stageAttachmentUpdate
- stageAttachmentUpdate(attachmentId, attachment, options?): this
Parameters
- attachmentId: FeatureId
- attachment: string | Blob | File
- options: {
contentType?: string;
name?: string;
parentId?: FeatureId;
} = {}OptionalcontentType?: string
Optionalname?: string
OptionalparentId?: FeatureId
Returns this
undo
- undo(): boolean
Returns boolean
Merge snapping configuration changes into the workflow.