Skip to content

Displaying text along with RDK field #763

Answered by vijaymarupudi
wsr017 asked this question in Q&A
Discussion options

You must be logged in to vote

var canvas = document.createElement("canvas");

This is where you would need to modify the plugin. Before that part add

var text = document.createElement('div')
text.innerHTML = trial.text
display_element.appendChild(text)

Then you can pass in a text parameter for the plugin and it should display above the canvas I think.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by wsr017
Comment options

You must be logged in to vote
0 replies
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