AppSuite:Debugging the UI: Difference between revisions
From Open-Xchange
Line 16: | Line 16: | ||
== Enable capability via URL hash == | == Enable capability via URL hash == | ||
Just add the parameter "cap" to URL hash, e.g. '''...&cap=emoji'''. A leading minus disables a capability. | Just add the parameter "cap" to URL hash, e.g. '''...&cap=emoji'''. A leading minus disables a capability. Multiple capabilities separated by comma: | ||
<pre language="none"> | |||
...&cap=emoji,-calendar | |||
</pre> | |||
[[Category:AppSuite]] | [[Category:AppSuite]] | ||
[[Category:UI]] | [[Category:UI]] | ||
[[Category:Developer]] | [[Category:Developer]] |
Revision as of 10:00, 29 August 2013
Debugging the UI
Synopsis: A collection of hints to debug during UI development
What capabilities are available?
_(ox.serverConfig.capabilities).pluck("id").sort();
Check settings
// check core settings require('settings!io.ox/core').get(); // check mail settings require('settings!io.ox/mail').get();
Enable capability via URL hash
Just add the parameter "cap" to URL hash, e.g. ...&cap=emoji. A leading minus disables a capability. Multiple capabilities separated by comma:
...&cap=emoji,-calendar