getFormValues

Type:Function
Status:stable
Since:1.0.0
Platform:js
@blackbyte.sugar.js.dom.form

This function take a form element and return an object with all the values

Params

  1. $form*-HTMLFormElement

    The form element to get the values from

Return

  1. -Object

    An object with all the values

Example

import { getFormValues } from '@blackbyte/sugar/dom'
const values = getFormValues(myForm);

Todo

  • testsnormal