Tile

data class Tile(var size: String, var position: Int, var hasAd: Boolean, var hasExcerpt: Boolean)

Properties for a single tile within a responsive layout.

Constructors

Link copied to clipboard
constructor(size: String, position: Int, hasAd: Boolean, hasExcerpt: Boolean)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether this tile position may contain an advertisement.

Link copied to clipboard

Whether this tile should display an article excerpt.

Link copied to clipboard

Zero-based position index of this tile within the layout.

Link copied to clipboard

Display size of the tile (e.g. "large", "medium", "small").