WidgetFactory

dev.cheleb.scalamigen.WidgetFactory

This is a trait that defines the interface for the widget factory.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def renderButton: L.HtmlElement

Render a button.

Render a button.

Attributes

def renderCheckbox: L.HtmlElement

Render a checkbox.

Render a checkbox.

Attributes

def renderDatePicker: L.HtmlElement

Render a date picker.

Render a date picker.

Attributes

def renderLabel(required: Boolean, name: String): L.HtmlElement

Render a label for a widget.

Render a label for a widget.

Attributes

def renderNumeric: L.HtmlElement

Render a numeric input, for numbers.

Render a numeric input, for numbers.

Attributes

def renderOption(label: String, idx: Int, selected: Boolean): L.HtmlElement

Render an option.

Render an option.

Attributes

def renderPanel(headerText: Option[String]): L.HtmlElement

Render a panel. This is a container for other widgets derived from a case class.

Render a panel. This is a container for other widgets derived from a case class.

Attributes

def renderSecret: L.HtmlElement

Render a password input, for secret strings.

Render a password input, for secret strings.

Attributes

def renderSelect(f: Int => Unit): L.HtmlElement

Render a select.

Render a select.

Attributes

def renderText: L.HtmlElement

Render a text input, for strings.

Render a text input, for strings.

Attributes

def renderUL(id: String): L.HtmlElement

Render an unordered list. This is a container for other widgets derived from a case class.

Render an unordered list. This is a container for other widgets derived from a case class.

Attributes