5E Character Create Playlist
  1. #1

    How do I remove a callback for tokeninstance.onDragEnd?

    Actually this question is for any of the callbacks in Token and tokeninstance - how do I unset them? For example...

    tokeninstance.onDragEnd = myfunction;
    or
    Token.onDrag = myfunction;

    How do I remove those settings in runtime? Experimentation seems to show that everytime I add one in - it will actually add it in as if its a list - and call it multiple times. I know how to push an entry onto this callback list as shown above - how do I pull off something in these callback lists?
    Free(Forums/Forge) Extension(FGU 5E):
    Paid (Forge) Extension(FGU 5E):

  2. #2
    You can not remove a callback from global handler registration.

    Regards,
    JPG

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
DICE PACKS BUNDLE

Log in

Log in