def get_el(el):
        """
        Get value of given `el` tag element.

        Automatically choose proper method to set the `value` based on the type
        of the `el`.

        Args:
            el (obj): Element reference to the input you want to convert to
                typeahead.

        Returns:
            str: Value of the object.
        """
        tag_name = el.elt.tagName.lower()
        if tag_name in {"input", "textarea", "select"}:
            return el.value
        else:
            raise ValueError(
                "Getter for %s (%s) not implemented!" % (tag_name, el.id)
            )
def get_el ( el ) : tag_name = el . elt . tagName . lower ( ) if tag_name in { "input" , "textarea" , "select" } : return el . value else : raise ValueError ( "Getter for %s (%s) not implemented!" % ( tag_name , el . id ) )
Get value of given `el` tag element.

        Automatically choose proper method to set the `value` based on the type
        of the `el`.

        Args:
            el (obj): Element reference to the input you want to convert to
                typeahead.

        Returns:
            str: Value of the object.