We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Updating Annotations

Home Forums Programming Updating Annotations

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #69326
    masj
    Participant

    Hello!

    Was wondering if there is a way to change the annotation character (symbol) and annotation dialog contents (text) after the annotation object has been created.

    Referencing https://www.soft8soft.com/docs/api/en/objects/Annotation.html, tried to assign to annotationObj.character and annotationObj.dialogContents directly, but didn’t seem to do anything.
    Wondering if this is a bug, or if there is there another clean way to update these in JS, or if it would be advisable to update the innerHTML directly?

    Thanks!

    #69327
    kdv
    Participant

    It’s possible but much easier to delete and recreate with puzzles. The result will be exactly the same.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #69335
    masj
    Participant

    Yeah, that could be an option ✅
    Thanks for your input, kdv – always appreciate it!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.