Icons and images
Icons
val g = Button("A button with a glyphicon", "asterisk")
val fb = Link("A link with a Font Awesome icon", "https://google.com", "fa-asterisk")Images
val i = Button("A button with an image") {
image = require("img/dog.jpg")
}val l = Link("A link with an external image", image = "https://www.host.com/logo.png")val catImg = Image(require("img/cat.jpg"), alt = "A rounded and responsive cat",
responsive = true, shape = ImageShape.ROUNDED)
val dogImg = Image(require("img/dog.jpg"), alt = "Centered dog in a circle",
shape = ImageShape.CIRCLE, centered = true)Last updated