7.2 Positioning the HTML

By default, the iframe and your HTML occupy the whole of your indicator’s panel: width:100%, height:100%. You can use the style settings to change this. For example, making the HTML 200px by 50px, positioned in the bottom right corner of the panel:

UDI.createHTML({
	style: {
		width: "200px",
		height: "50px",
		bottom: "0px",
		right: "0px",
},

});

Last updated