org.hyperscala.examples.ui.TabsExample.scala Maven / Gradle / Ivy
The newest version!
package org.hyperscala.examples.ui
import org.hyperscala.examples.Example
import org.hyperscala.html._
import org.hyperscala.jquery.ui.Tabs
import org.hyperscala.web.Webpage
/**
* @author Matt Hicks
*/
class TabsExample extends Webpage with Example {
body.contents += new Tabs {
id := "tabsExample"
val first = addTab("First") {
new tag.Div {
contents += "This is the first tab!"
}
}
val second = addTab("Second") {
new tag.Div {
contents += "This is the second tab!"
}
}
val third = addTab("Third") {
new tag.Div {
contents += "This is the third tab!"
}
}
}
}