AppSuite:Debugging the UI: Difference between revisions
From Open-Xchange
No edit summary |
|||
Line 14: | Line 14: | ||
require('settings!io.ox/mail').get(); | require('settings!io.ox/mail').get(); | ||
</pre> | </pre> | ||
== Enable capability via URL hash == | |||
Just add parameter cap to URL hash, e.g. ...&cap=emoji. A leading minus disables a capability. | |||
[[Category:AppSuite]] | [[Category:AppSuite]] | ||
[[Category:UI]] | [[Category:UI]] | ||
[[Category:Developer]] | [[Category:Developer]] |
Revision as of 09:58, 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 parameter cap to URL hash, e.g. ...&cap=emoji. A leading minus disables a capability.