API Reference > ui-framework > Admin > FrameworkUiAdmin > showAngleEditor showAngleEditor Method Show an input editor for an angle value at a particular location. showAngleEditor(initialValue: number, location: Readonly<WritableXAndY>, onCommit: OnNumberCommitFunc, onCancel: OnCancelFunc, htmlElement?: HTMLElement): boolean Parameter Type Description initialValue number Value initially displayed in the editor. location Readonly<WritableXAndY> Location of the editor, relative to the origin of htmlElement or the window. onCommit OnNumberCommitFunc Function called when the OK button or the Enter key is pressed. onCancel OnCancelFunc Function called when the Cancel button or the Escape key is pressed. htmlElement HTMLElement The HTMLElement that anchors the context menu. If undefined, the location is relative to the overall window. Returns - boolean true if the editor was displayed, false if the editor could not be displayed. Defined in ui/framework/src/ui-framework/uiadmin/FrameworkUiAdmin.tsx Line 233 Last Updated: 11 June, 2024