Constructor
new View(window, name, html, cssDelegate, bindId, formatter, validator)
Parameters:
Name | Type | Default | Description |
---|---|---|---|
window |
window | The browser window object |
|
name |
string | The name of the view |
|
html |
string | The html fragment to display |
|
cssDelegate |
CssDelegate | The css delegator |
|
bindId |
string | content | The id of en element where this html fragment is displayed |
formatter |
Formatter | The formatter |
|
validator |
InputValidator | The input validator |
- Source: