secure property

List<String> secure

This option controls which currentConfig keys are considered secure and can only be changed via call to mermaidAPI.initialize. Calls to mermaidAPI.reinitialize cannot make changes to the secure keys in the current currentConfig. This prevents malicious graph directives from overriding a site's default security. Notes: Default value: ['secure', 'securityLevel', 'startOnLoad', 'maxTextSize']

Implementation

external List<String> get secure;
void secure=(List<String> v)

Implementation

external set secure(List<String> v);