Thank you @Tommertom, found it but it’s hard to get all methods and options.
In particular I’d like to know which kind of input element can i pass as an option: I see here that I can use radio, checkbox, number and so on but I’d like to find a complete list of parameters… I’ll search for them in the code repo.