collapsedTemplate

collapsedTemplate - Specifies a template for an item's collapsed state. It may be a string value or a function.


<div id="timeline" />

<script type="text/javascript">
    $(function () {
        $('#timeline').shieldTimeline({
              collapsedTemplate: "{collapsed}",
              dataSource: {
                    data: [
                        {
                            title: "David F.",
                            text: "Hey! Sure, I will message ...",
                            collapsed: "myCollapsedIcon.ico",
                            iconCls: "fa fa-facebook",
                            collapsed: true
                        },
                        {
                            title: "Followed",
                            text: "By J.R. Simpson",
                            collapsed: "myCollapsedIconNext.ico",
                            iconCls: "fa fa-twitter"
                        }
                    ]
                }
          });
    });
</script>