org.hyperscala.examples.basic.EncodedImageExample.scala Maven / Gradle / Ivy
The newest version!
package org.hyperscala.examples.basic
import org.hyperscala.examples.Example
import org.hyperscala.html._
import org.hyperscala.module.EncodedImages
import org.hyperscala.realtime.Realtime
import org.hyperscala.web._
/**
* @author Matt Hicks
*/
class EncodedImageExample extends Webpage with Example {
require(EncodedImages)
require(Realtime)
body.contents += new tag.P {
contents += new tag.H3(content = "Relative URL:")
contents += new tag.Img(src = "../../images/slide1.jpg")
}
}