Customize size
29 Nov 2016 / 1 minute to read
You can customize the size of the Tile by using the data-ej-tilesize
attribute. The following built-in Tile sizes are supported.
-
medium
-
small
-
large
-
wide
Default value: small
Refer to the following code example.
<div style="margin-top:45px;">
<div id="head" data-role="ejmheader" data-ej-title="Tileview"></div>
<div id="tile" data-role="ejmtile" data-ej-imageurl="map.png" data-ej-imagepath="themes/sample/tileview" data-ej-text="map" data-ej-tilesize="medium" data-ej-imageposition = "fill" >
</div>
</div>
The following screenshot illustrates the output of the above code.
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page