Class: AccordionItemView

AccordionItemView()

A view representing an accordion item with a title and content

Screenshot

Constructor

new AccordionItemView()

Since:
  • 2.31.0
Source:

Extends

  • Backbone.View

Members

className

Source:
An HTML string to use for an icon indicating that the accordion item is collapsible.
Type:
  • string
Source:

tagName

Source:

type

Source:

Methods

initialize()

Source:

render()

Source:

updateContent(content, clearopt)

Change the content of the accordion item.
Parameters:
Name Type Attributes Description
content string | HTMLElement | Backbone.View The content to display.
clear boolean <optional>
Whether to clear the existing content.
Source: