iconUrlTemplate

iconUrlTemplate - Specifies a template for an item's icon url. It may be a string value or a function.


<div id="timeline" />

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