BaseBodyView
is the default implementation of a body view.
This view is specified with the following options. These can be specified as properties when extending the class or passed in as options when instantiating this class.
Property | Description | Default |
---|---|---|
text | The text to in the modal body in within a p tag |
NOTE: While BaseHeaderView and BaseFooterView should be able to be leveraged as-is in many use cases -- it is expected that BaseBodyView would usually be replaced or extended by most applications.
Example:
view = new BackboneBootstrapModals.BaseBodyView({
text: "hello world"
});