Adding a text label on renderer

I’m trying to use this example as a reference, but I’m having so many issues to apply it to my project. I’m looking for a way that I can render text labels whenever I click my 3D model. Any clue on that? I am struggling to find something or someone who needed to do something similar with vtk.js.