Namespace $.ui.scoreboard.defaults
Extends
$.ui.scoreboard.
Default settings for the scoreboard widget
Defined in: ui.scoreboard.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Default settings for the scoreboard widget
|
Field Attributes | Field Name and Description |
---|---|
<static> |
$.ui.scoreboard.defaults.layout
Initial layout, valid options are "horizontal" and "vertical"
|
<static> |
$.ui.scoreboard.defaults.locale
Default locale, valid options are "en" and "ne"
|
<static> |
$.ui.scoreboard.defaults.pauseButton
Display the Pause Button
|
<static> |
$.ui.scoreboard.defaults.restartButton
Display the Retart Button
|
<static> |
$.ui.scoreboard.defaults.score
Initial score
|
<static> |
$.ui.scoreboard.defaults.startButton
Display the Start Button
|
<static> |
$.ui.scoreboard.defaults.total
Initial total
|
<static> |
$.ui.scoreboard.defaults.winningScore
The score that will win the game
|
- Methods borrowed from class $.ui.scoreboard:
- dec, decTotal, destroy, getScore, getTotal, inc, incTotal, restart, setScore, setTotal
Field Detail
<static>
{String}
$.ui.scoreboard.defaults.layout
Initial layout, valid options are "horizontal" and "vertical"
- Default Value:
- "horizontal"
<static>
{String}
$.ui.scoreboard.defaults.locale
Default locale, valid options are "en" and "ne"
- Default Value:
- "en"
<static>
{boolean}
$.ui.scoreboard.defaults.pauseButton
Display the Pause Button
- Default Value:
- false
<static>
{boolean}
$.ui.scoreboard.defaults.restartButton
Display the Retart Button
- Default Value:
- true
<static>
{Number}
$.ui.scoreboard.defaults.score
Initial score
- Default Value:
- 0
<static>
{boolean}
$.ui.scoreboard.defaults.startButton
Display the Start Button
- Default Value:
- false
<static>
{Number}
$.ui.scoreboard.defaults.total
Initial total
- Default Value:
- 0
<static>
{Number}
$.ui.scoreboard.defaults.winningScore
The score that will win the game
- Default Value:
- 0