Methods
# static app(app, confopt)
Bootstrap an App with the default configurations.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
app |
App
|
The app to bootstrap |
||
conf |
Object
|
<optional> |
{} | Extra configuration |
defaultSettingsPanel |
Boolean
|
<optional> |
true | Panel por defecto |
tvBtn |
Boolean
|
<optional> |
true | TV Button |
fsBtn |
Boolean
|
<optional> |
true | Fullscreen button |
theme |
String
|
<optional> |
'theme-light' | Default theme |
titleSize |
String
|
<optional> |
'' | Title size |
displayCompact |
Boolean
|
<optional> |
true | Display compact |
displayBordered |
Boolean
|
<optional> |
true | Display bordered |
displayCollapsibles |
Boolean
|
<optional> |
true | Display collapsibles |
displayDescription |
Boolean
|
<optional> |
true | Display description |
displayMenuWidgetsExpanded |
Boolean
|
<optional> |
true | Display Menu Widgets Expanded |
datesCallback |
function
|
Show dates on input after update |
# static langs(obj, forceopt)
Bootstrap languages, this process process the index.html for convert any language string to the right language.
This process replace the current object .lt-vapp from the DOM so must be the first.
The default language if multilanguage support is not required could be setted passing the force argument. This argument is a string with the locale in the xx_XX format
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
obj |
Object
|
Languages object |
||
force |
String
|
<optional> |
null | Force one language |