Closed zoton2 closed 5 years ago
It's possible to use nodecg.getDialog(name).open() and nodecg.getDialogDocument(name) to open/manipulate the dialog before you show it.
nodecg.getDialog(name).open()
nodecg.getDialogDocument(name)
Example usage similar to ours: https://github.com/GamesDoneQuick/agdq17-layouts/blob/a97f3dc765616cf3b533591ef2daf119c0169080/dashboard/schedule/elements/gdq-schedule.js#L111-L114
Documentation: http://nodecg.com/NodeCG.html#getDialog http://nodecg.com/NodeCG.html#getDialogDocument
It's possible to use
nodecg.getDialog(name).open()
andnodecg.getDialogDocument(name)
to open/manipulate the dialog before you show it.Example usage similar to ours: https://github.com/GamesDoneQuick/agdq17-layouts/blob/a97f3dc765616cf3b533591ef2daf119c0169080/dashboard/schedule/elements/gdq-schedule.js#L111-L114
Documentation: http://nodecg.com/NodeCG.html#getDialog http://nodecg.com/NodeCG.html#getDialogDocument