A fully controlled React component, or a Widget, for editing a given value.
Such editors appear in larger UI elements, such as popups or pinned tooltips, and are suitable for comprehensively editing a particular value.
They do not have to be React components- a Widget also works as a detail editor.
A fully controlled React component for editing a given value.
Type editors are passed through the EditorFactory, and are used extensively
by the framework for a consistent, cohesive, and comprehensive editing UX.
These are usually managed by a
This input control is special, and should not be used for all circumstances. It is uncontrolled, meaning it has hidden state that is not expressed in it's properties. This control is meant to be used with fields that should update in response to user input, but may also update asynchronously. Due to a spec bug in how browsers handle user state in input elements, React cannot normally handle this case on it's own without stomping on user context.
Additionally, this control disables a number of browser features (like spell check and autocomplete) so that it can remain performant on large strings. If you want these features, you'll need to use a different component.
Use this component with ReactHelpers#useIntermediate.
Rerender a react component whenever an observable emits.
This is useful for components that use Observables as a dirtiness signal, such as the TreeView.
Helper for working with UncontrolledInput.
For usage info, refer to the documentation for UncontrolledInput.
Helper function to fetch the previous value of a hook, for comparison
The value to remember
The previous value given to this hook, or undefined.
Helper function for imperatively rerendering a function component.
Plugin that provides the TypeEditor factory
NOTE: The TypeEditor factory cannot be disabled using Phosphor, as it holds global state. This is merely a convenience for setting it up, accessing it, and registering your own type editors.
Generated using TypeDoc