Variable: PointsEditor
const PointsEditor: object;
Defined in: react/src/components/PointsEditor/index.tsx:267
Multiple Point Controller
Type Declaration
Background
Background: (__namedParameters) => Element;
Parameters
| Parameter | Type |
|---|---|
__namedParameters | ComponentPropsWithoutRef<"div"> |
Returns
Element
Container
Container: ForwardRefExoticComponent<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
Point
Point: <T>(__namedParameters) => Element;
Type Parameters
| Type Parameter |
|---|
T extends PointPosition |
Parameters
| Parameter | Type |
|---|---|
__namedParameters | PointsEditorPointProps<T> & Omit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, keyof PointsEditorPointProps<T>> |
Returns
Element
Root
Root: ForwardRefExoticComponent<PointsEditorProps & Omit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, keyof PointsEditorProps> & RefAttributes<HTMLDivElement>>;
SelectionBox
SelectionBox: (__namedParameters) => Element | null;
The box a drag on empty space draws, and what it covers is selected.
Nothing is rendered while no drag is running, and leaving it out leaves the editor without one — the selection still works, it just cannot be seen.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | ComponentPropsWithoutRef<"div"> |
Returns
Element | null