Last active
February 28, 2017 03:34
-
-
Save rruhlen/74dc56f81ee63057dc30 to your computer and use it in GitHub Desktop.
How to pass in data into an already initialized Desk widget.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var opts = { fields: { currentUserName: 'Guest' }}; | |
var widget = new DESK.Widget(opts); | |
opts['fields']['currentUserName'] = 'Joe'; | |
widget.init(opts); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment