titleTemplate

titleTemplate - Specifies the mapping between the title column in the datasource and
the tab title and also may define a visualization template. It may be a string value or a function.


<script type="text/javascript">
    $(function () {
        $("#tabs").shieldTabs({
            titleTemplate: "{title}",
            dataSource: {
                 data: [
                     { title: "Tab1", content: "Tab1 content" },
                     { title: "Tab2", content: "Tab2 content" },
                 ]
            }
        });
    });
</script>