Disables elements, hiding them from the UI. Elements disabled through this API cannot be re-enabled by the viewer itself, only by enableElements. A single string is accepted too.
enableElements
A dataElement or an array of them.
instance.UI.disableElements(['printButton', 'downloadButton']); Copy
instance.UI.disableElements(['printButton', 'downloadButton']);
Disables elements, hiding them from the UI. Elements disabled through this API cannot be re-enabled by the viewer itself, only by
enableElements. A single string is accepted too.