Constructor
- Since:
- Source:
Extends
Members
className
- Source:
events
- Source:
tagName
- Source:
type
- Source:
Methods
initialize(options)
Initializes the ViewDataButtonView
Parameters:
Name |
Type |
Description |
options |
object
|
Options for the view |
- Source:
- Source:
- See:
-
- DataObjectView#checkSizeAndFormat
Returns:
True if the object is a valid type and size
-
Type
-
boolean
modalTemplate(options) → {string}
A template for the modal that will be displayed when the button is
clicked. The modal will contain a DataObjectView.
Parameters:
Name |
Type |
Description |
options |
object
|
Options for the modal
Properties
Name |
Type |
Description |
title |
string
|
The title of the modal |
icon |
string
|
The icon for the title |
|
- Source:
Returns:
The HTML for the modal
-
Type
-
string
openModal(e)
Opens the modal. Called when the button is clicked.
Parameters:
Name |
Type |
Description |
e |
Event
|
The click event |
- Source:
render()
- Source:
renderModal() → {JQuery}
Renders the modal & DataObjectView
- Source:
Returns:
The modal
-
Type
-
JQuery