-
Notifications
You must be signed in to change notification settings - Fork 208
/
callbacks.ts
29 lines (24 loc) · 902 Bytes
/
callbacks.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
* @module Utilities
*/
import { Primitives } from "../properties/PrimitiveTypes";
/** Signature for number onCommit function.
* @public
*/
export type OnNumberCommitFunc = (value: number) => void;
/** Signature for value onCommit function.
* @public
*/
export type OnValueCommitFunc = (value: Primitives.Value) => void;
/** Signature for onCancel function.
* @public
*/
export type OnCancelFunc = () => void;
/** Signature for onItemExecuted function.
* @public
*/
export type OnItemExecutedFunc = (item: any) => void;