use cratevalue;
use *;
/// A hook to handle the discrepancy between `oninput`/`onchange` for text input fields.
///
/// The hook will return a callback which is suitable for the `oninput` event of a text input. It
/// will emit the `oninput` event unchanged, and emit an `onchange` event with the full value
/// of the input control.
///
/// The `node` parameter must point to an HTML input element, suitable for the [`value`] function.
/// Otherwise no `onchange` event fill be fired.