Skip to content
Discussion options

You must be logged in to vote

The documentation is here. It's not much but...

So you can do something like:

dv.container.createEl("input", { value:"Button text", type:"button", anyOtherProperty: "yourValue" });

(Note that for input buttons, value is equivalent to text)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Another5405
Comment options

Answer selected by Another5405
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants