listwithsubtitle

A simple list with a title, a subtitle and an optional content defined using data-juci="listcontent".

  • Extends xlist
  • Syntax

    <div data-juci="listwithsubtitle" data-title="shipmentName" data-subtitle="'Shipment number ' + shipmentNumber()" data-bind="ref: deliveries"></div>
    juci.addDataset("deliveries", [
    	{
    		"shipmentName": "Future Logistics",
    		"shipmentNumber": "533726",
    	},
    	{
    		"shipmentName": "MKM Transports",
    		"shipmentNumber": "498723"
    	}]
    );

    Attributes

    • data-juci {String}
      A string with value listwithsubtitle.
    • data-subtitles {String}
    • data-titles {String}