- PatentView
The Patent View application class
- $CONTROLLER
Exported reference to application model and controller
The Patent View application class
Kind: global class
- PatentView
- .render() ⇒
undefined
- .getDefaultDOM() ⇒
undefined
- .updateDOM(nodeUpdater, selector) ⇒
undefined
- .getSettings(url) ⇒
Promise.<object>
- .getPage(page, query) ⇒
Promise.<undefined>
- .router([e]) ⇒
undefined
- .init() ⇒
Promise.<undefined>
- .render() ⇒
Render Page
Attach the virtual DOM children to the page DOM
Kind: instance method of PatentView
Access: public
Get Default Page DOM
Retrieve the page's default content from the configured application wrapper
Kind: instance method of PatentView
Access: public
Update Stored DOM
Update the virtual DOM with new content
Kind: instance method of PatentView
Param | Type | Description |
---|---|---|
nodeUpdater | Node |
node containing updated content |
selector | string |
string identifier of target element that will be updated |
Get Settings
Kind: instance method of PatentView
Returns: Promise.<object>
- Parsed JSON object
Access: public
Param | Type | Description |
---|---|---|
url | string |
settings path |
Get Page
Retrieve the requested view
Kind: instance method of PatentView
Returns: Promise.<undefined>
- Promise
Access: public
Param | Type | Description |
---|---|---|
page | string |
page path |
query | string |
query string |
Router
The application router
Kind: instance method of PatentView
Param | Type | Description |
---|---|---|
[e] | Event |
optional event object |
Initializer
Kind: instance method of PatentView
Returns: Promise.<undefined>
- Promise
Exported reference to application model and controller
Kind: global constant
Access: public
Properties
Name | Type |
---|---|
$CONTROLLER | object |