A template string or a JavaScript function to be used for rendering the title of each item in the accordion.

If a function is used, it will receive the following parameters:
- item - the dataSource item associated with this element
- index - the index of the dataSource item
- element - the element rendering the item

The widget will update the title element with the return value of the titleTemplate function. If nothing is returned, the element will not be updated.

<div id="accordion"></div>

<script type="text/javascript">
$(function () {
        titleTemplate: "{title} programming language",
        dataSource: {
            data: [
                    title: 'Perl',
                    content: 'A very good programming language'
                    title: 'C++',
                    content: 'Also very good for development'
                    title: 'JAVA',
                    content: 'Moderate stuff'