Customize size

15 Dec 20171 minute to read

You can customize the size of the Tile by using data-ej-tileSize attribute. The following built-in tile sizes are supported.

  1. medium
  2. small
  3. large
  4. wide

The default TileSize value is set to small.

Refer to the following code examples.

  • HTML
  • <div id="tile"></div>

    Add the following code inside the script tag.

  • JAVASCRIPT
  • $("#tile").ejTile({
                tileSize: "medium", imagePosition: "center",
                imageUrl: "http://js.syncfusion.com/UG/Web/Content/tile/pictures.png",
                text: "Pictures"
            });