org.getshaka.shaka.builders

Value members

Concrete methods

inline
def `for`(value: String)(using HTMLElement): Unit
inline
def `object`(init: HTMLObjectElement => Unit)(using Element): Unit
inline
def `type`(value: String)(using HTMLElement): Unit
inline
def a(init: HTMLAnchorElement => Unit)(using Element): Unit
inline
def accept(value: String)(using HTMLElement): Unit
inline
def accesskey(value: String)(using HTMLElement): Unit
inline
def action(value: String)(using HTMLElement): Unit
inline
def address(init: HTMLElement => Unit)(using Element): Unit
inline
def alignContent(style: String)(using HTMLElement): Unit
inline
def alignItems(style: String)(using HTMLElement): Unit
inline
def alignSelf(style: String)(using HTMLElement): Unit
inline
def alt(value: String)(using HTMLElement): Unit
inline
def article(init: HTMLElement => Unit)(using Element): Unit
inline
def aside(init: HTMLElement => Unit)(using Element): Unit
inline
def audio(init: HTMLAudioElement => Unit)(using Element): Unit
inline
def autocapitalize(value: String)(using HTMLElement): Unit
inline
def autocomplete(value: String)(using HTMLElement): Unit
inline
def autofocus(value: Boolean)(using HTMLElement): Unit
inline
def autoplay(value: Boolean)(using HTMLElement): Unit
inline
def b(init: HTMLElement => Unit)(using Element): Unit
inline
def background(style: String)(using HTMLElement): Unit
inline
def backgroundAttachment(style: String)(using HTMLElement): Unit
inline
def backgroundColor(style: String)(using HTMLElement): Unit
inline
def backgroundImage(style: String)(using HTMLElement): Unit
inline
def backgroundPosition(style: String)(using HTMLElement): Unit
inline
def backgroundRepeat(style: String)(using HTMLElement): Unit
inline
def base(init: HTMLBaseElement => Unit)(using Element): Unit
inline
def blockquote(init: HTMLQuoteElement => Unit)(using Element): Unit
inline
def body(init: HTMLBodyElement => Unit)(using Element): Unit
inline
def border(style: String)(using HTMLElement): Unit
inline
def borderBottom(style: String)(using HTMLElement): Unit
inline
def borderBottomColor(style: String)(using HTMLElement): Unit
inline
def borderBottomStyle(style: String)(using HTMLElement): Unit
inline
def borderBottomWidth(style: String)(using HTMLElement): Unit
inline
def borderColor(style: String)(using HTMLElement): Unit
inline
def borderLeft(style: String)(using HTMLElement): Unit
inline
def borderLeftColor(style: String)(using HTMLElement): Unit
inline
def borderLeftStyle(style: String)(using HTMLElement): Unit
inline
def borderLeftWidth(style: String)(using HTMLElement): Unit
inline
def borderRight(style: String)(using HTMLElement): Unit
inline
def borderRightColor(style: String)(using HTMLElement): Unit
inline
def borderRightStyle(style: String)(using HTMLElement): Unit
inline
def borderRightWidth(style: String)(using HTMLElement): Unit
inline
def borderStyle(style: String)(using HTMLElement): Unit
inline
def borderTop(style: String)(using HTMLElement): Unit
inline
def borderTopColor(style: String)(using HTMLElement): Unit
inline
def borderTopStyle(style: String)(using HTMLElement): Unit
inline
def borderTopWidth(style: String)(using HTMLElement): Unit
inline
def borderWidth(style: String)(using HTMLElement): Unit
inline
def br(init: HTMLBRElement => Unit)(using Element): Unit
inline
def button(init: HTMLButtonElement => Unit)(using Element): Unit
inline
def caption(init: HTMLTableCaptionElement => Unit)(using Element): Unit
inline
def checked(value: Boolean)(using HTMLElement): Unit
inline
def cite(init: HTMLElement => Unit)(using Element): Unit
inline
def className(value: String)(using HTMLElement): Unit
inline
def clear(style: String)(using HTMLElement): Unit
inline
def clip(style: String)(using HTMLElement): Unit
inline
def cls(value: String)(using HTMLElement): Unit
inline
def code(init: HTMLElement => Unit)(using Element): Unit
inline
def col(init: HTMLTableColElement => Unit)(using Element): Unit
inline
def colgroup(init: HTMLTableColElement => Unit)(using Element): Unit
inline
def color(style: String)(using HTMLElement): Unit
inline
def cols(value: Int)(using HTMLElement): Unit
inline
def colspan(value: Int)(using HTMLElement): Unit
inline
def columnGap(style: String)(using HTMLElement): Unit
inline
def content(value: String)(using HTMLElement): Unit
inline
def contenteditable(value: Boolean)(using HTMLElement): Unit
inline
def contextmenu(value: String)(using HTMLElement): Unit
inline
def controls(value: Boolean)(using HTMLElement): Unit
inline
def cssFloat(style: String)(using HTMLElement): Unit
inline
def cssProp(propName: String)(style: String)(using pe: HTMLElement): Unit

Defines a Css property

Defines a Css property

Value Params
pe

Element to apply styling to.

propName

Name of the property

style

Css styling

inline
def cursor(style: String)(using HTMLElement): Unit
inline
def dangerouslySetInnerHtml(html: String)(using parent: Element): Unit

Please don't use this.. unless you must

Please don't use this.. unless you must

inline
def data(init: HTMLElement => Unit)(using Element): Unit
inline
def datetime(value: String)(using HTMLElement): Unit
inline
def details(init: HTMLElement => Unit)(using Element): Unit
inline
def dialog(init: HTMLElement => Unit)(using Element): Unit
inline
def disabled(value: Boolean)(using HTMLElement): Unit
inline
def display(style: String)(using HTMLElement): Unit
inline
def div(init: HTMLDivElement => Unit)(using Element): Unit
inline
def download(value: Boolean)(using HTMLElement): Unit
inline
def draggable(value: Boolean)(using HTMLElement): Unit
inline
def em(init: HTMLElement => Unit)(using Element): Unit
inline
def embed(init: HTMLEmbedElement => Unit)(using Element): Unit
inline
def enterkeyhint(value: String)(using HTMLElement): Unit
inline
def fieldset(init: HTMLFieldSetElement => Unit)(using Element): Unit
inline
def figcaption(init: HTMLElement => Unit)(using Element): Unit
inline
def figure(init: HTMLElement => Unit)(using Element): Unit
inline
def filter(style: String)(using HTMLElement): Unit
inline
def flex(style: String)(using HTMLElement): Unit
inline
def flexBasis(style: String)(using HTMLElement): Unit
inline
def flexDirection(style: String)(using HTMLElement): Unit
inline
def flexFlow(style: String)(using HTMLElement): Unit
inline
def flexGrow(style: String)(using HTMLElement): Unit
inline
def flexShrink(style: String)(using HTMLElement): Unit
inline
def flexWrap(style: String)(using HTMLElement): Unit
inline
def font(style: String)(using HTMLElement): Unit
inline
def fontFamily(style: String)(using HTMLElement): Unit
inline
def fontSize(style: String)(using HTMLElement): Unit
inline
def fontVariant(style: String)(using HTMLElement): Unit
inline
def fontWeight(style: String)(using HTMLElement): Unit
inline
def form(init: HTMLFormElement => Unit)(using Element): Unit
inline
def formaction(value: String)(using HTMLElement): Unit
inline
def gap(style: String)(using HTMLElement): Unit
inline
def grid(style: String)(using HTMLElement): Unit
inline
def gridArea(style: String)(using HTMLElement): Unit
inline
def gridAutoColumns(style: String)(using HTMLElement): Unit
inline
def gridAutoFlow(style: String)(using HTMLElement): Unit
inline
def gridAutoRows(style: String)(using HTMLElement): Unit
inline
def gridColumn(style: String)(using HTMLElement): Unit
inline
def gridColumnStart(style: String)(using HTMLElement): Unit
inline
def gridRow(style: String)(using HTMLElement): Unit
inline
def gridRowEnd(style: String)(using HTMLElement): Unit
inline
def gridRowStart(style: String)(using HTMLElement): Unit
inline
def gridTemplate(style: String)(using HTMLElement): Unit
inline
def gridTemplateColumns(style: String)(using HTMLElement): Unit
inline
def gridTemplateRows(style: String)(using HTMLElement): Unit
inline
def h1(init: HTMLHeadingElement => Unit)(using Element): Unit
inline
def h2(init: HTMLHeadingElement => Unit)(using Element): Unit
inline
def h3(init: HTMLHeadingElement => Unit)(using Element): Unit
inline
def h4(init: HTMLHeadingElement => Unit)(using Element): Unit
inline
def h5(init: HTMLHeadingElement => Unit)(using Element): Unit
inline
def h6(init: HTMLHeadingElement => Unit)(using Element): Unit
inline
def head(init: HTMLHeadElement => Unit)(using Element): Unit
inline
def header(init: HTMLElement => Unit)(using Element): Unit
inline
def height(style: String)(using HTMLElement): Unit
inline
def hidden(value: Boolean)(using HTMLElement): Unit
inline
def hr(init: HTMLHRElement => Unit)(using Element): Unit
inline
def href(value: String)(using HTMLElement): Unit
inline
def i(init: HTMLElement => Unit)(using Element): Unit
inline
def id(value: String)(using HTMLElement): Unit
inline
def iframe(init: HTMLIFrameElement => Unit)(using Element): Unit
inline
def img(init: HTMLImageElement => Unit)(using Element): Unit
inline
def input(init: HTMLInputElement => Unit)(using Element): Unit
inline
def inputmode(value: String)(using HTMLElement): Unit
inline
def justifyContent(style: String)(using HTMLElement): Unit
inline
def label(init: HTMLLabelElement => Unit)(using Element): Unit
inline
def lang(value: String)(using HTMLElement): Unit
inline
def left(style: String)(using HTMLElement): Unit
inline
def legend(init: HTMLLegendElement => Unit)(using Element): Unit
inline
def letterSpacing(style: String)(using HTMLElement): Unit
inline
def li(init: HTMLLIElement => Unit)(using Element): Unit
inline
def lineHeight(style: String)(using HTMLElement): Unit
inline
def listStyle(style: String)(using HTMLElement): Unit
inline
def listStyleImage(style: String)(using HTMLElement): Unit
inline
def listStylePosition(style: String)(using HTMLElement): Unit
inline
def listStyleType(style: String)(using HTMLElement): Unit
inline
def loop(value: Boolean)(using HTMLElement): Unit
inline
def main(init: HTMLElement => Unit)(using Element): Unit
inline
def margin(style: String)(using HTMLElement): Unit
inline
def marginBottom(style: String)(using HTMLElement): Unit
inline
def marginLeft(style: String)(using HTMLElement): Unit
inline
def marginRight(style: String)(using HTMLElement): Unit
inline
def marginTop(style: String)(using HTMLElement): Unit
inline
def mark(init: HTMLElement => Unit)(using Element): Unit
inline
def max(value: String)(using HTMLElement): Unit
inline
def maxHeight(style: String)(using HTMLElement): Unit
inline
def maxWidth(style: String)(using HTMLElement): Unit
inline
def maxlength(value: Int)(using HTMLElement): Unit
inline
def media(value: String)(using HTMLElement): Unit
inline
def meta(init: HTMLMetaElement => Unit)(using Element): Unit
inline
def meter(init: HTMLElement => Unit)(using Element): Unit
inline
def method(value: String)(using HTMLElement): Unit
inline
def min(value: String)(using HTMLElement): Unit
inline
def minHeight(style: String)(using HTMLElement): Unit
inline
def minWidth(style: String)(using HTMLElement): Unit
inline
def multiple(value: Boolean)(using HTMLElement): Unit
inline
def muted(value: Boolean)(using HTMLElement): Unit
inline
def name(value: String)(using HTMLElement): Unit
inline
def noscript(init: HTMLElement => Unit)(using Element): Unit
inline
def novalidate(value: Boolean)(using HTMLElement): Unit
inline
def ol(init: HTMLOListElement => Unit)(using Element): Unit
inline
def onabort(value: Event => Unit)(using HTMLElement): Unit
inline
def onblur(value: FocusEvent => Unit)(using HTMLElement): Unit
inline
def onchange(value: Event => Unit)(using HTMLElement): Unit
inline
def onclick(value: MouseEvent => Unit)(using HTMLElement): Unit
inline
def oncontextmenu(value: MouseEvent => Unit)(using HTMLElement): Unit
inline
def oncopy(value: ClipboardEvent => Unit)(using HTMLElement): Unit
inline
def oncut(value: ClipboardEvent => Unit)(using HTMLElement): Unit
inline
def ondblclick(value: MouseEvent => Unit)(using HTMLElement): Unit
inline
def ondrag(value: DragEvent => Unit)(using HTMLElement): Unit
inline
def ondragend(value: DragEvent => Unit)(using HTMLElement): Unit
inline
def ondragenter(value: DragEvent => Unit)(using HTMLElement): Unit
inline
def ondragleave(value: DragEvent => Unit)(using HTMLElement): Unit
inline
def ondragover(value: DragEvent => Unit)(using HTMLElement): Unit
inline
def ondragstart(value: DragEvent => Unit)(using HTMLElement): Unit
inline
def ondrop(value: DragEvent => Unit)(using HTMLElement): Unit
inline
def onended(value: HTMLMediaElement => Unit)(using HTMLElement): Unit
inline
def onerror(value: Event => Unit)(using HTMLElement): Unit
inline
def onfocus(value: FocusEvent => Unit)(using HTMLElement): Unit
inline
def oninput(value: Event => Unit)(using HTMLElement): Unit
inline
def oninvalid(value: Event => Unit)(using HTMLElement): Unit
inline
def onkeydown(value: KeyboardEvent => Unit)(using HTMLElement): Unit
inline
def onkeypress(value: KeyboardEvent => Unit)(using HTMLElement): Unit
inline
def onkeyup(value: KeyboardEvent => Unit)(using HTMLElement): Unit
inline
def onload(value: Event => Unit)(using HTMLElement): Unit
inline
def onmousedown(value: MouseEvent => Unit)(using HTMLElement): Unit
inline
def onmousemove(value: MouseEvent => Unit)(using HTMLElement): Unit
inline
def onmouseover(value: MouseEvent => Unit)(using HTMLElement): Unit
inline
def onmouseup(value: MouseEvent => Unit)(using HTMLElement): Unit
inline
def onmousewheel(value: WheelEvent => Unit)(using HTMLElement): Unit
inline
def onoffline(value: Event => Unit)(using HTMLElement): Unit
inline
def ononline(value: Event => Unit)(using HTMLElement): Unit
inline
def onpaste(value: ClipboardEvent => Unit)(using HTMLElement): Unit
inline
def onplay(value: Event => Unit)(using HTMLElement): Unit
inline
def onplaying(value: Event => Unit)(using HTMLElement): Unit
inline
def onpopstate(value: PopStateEvent => Unit)(using HTMLElement): Unit
inline
def onreset(value: Event => Unit)(using HTMLElement): Unit
inline
def onresize(value: UIEvent => Unit)(using HTMLElement): Unit
inline
def onscroll(value: Event => Unit)(using HTMLElement): Unit
inline
def onsearch(value: Event => Unit)(using HTMLElement): Unit
inline
def onselect(value: Event => Unit)(using HTMLElement): Unit
inline
def onsubmit(value: Event => Unit)(using HTMLElement): Unit
inline
def onwheel(value: WheelEvent => Unit)(using HTMLElement): Unit
inline
def option(init: HTMLOptionElement => Unit)(using Element): Unit
inline
def order(style: String)(using HTMLElement): Unit
inline
def overflow(style: String)(using HTMLElement): Unit
inline
def p(init: HTMLParagraphElement => Unit)(using Element): Unit
inline
def padding(style: String)(using HTMLElement): Unit
inline
def paddingBottom(style: String)(using HTMLElement): Unit
inline
def paddingLeft(style: String)(using HTMLElement): Unit
inline
def paddingRight(style: String)(using HTMLElement): Unit
inline
def paddingTop(style: String)(using HTMLElement): Unit
inline
def pageBreakAfter(style: String)(using HTMLElement): Unit
inline
def pageBreakBefore(style: String)(using HTMLElement): Unit
inline
def param(init: HTMLParamElement => Unit)(using Element): Unit
inline
def picture(init: HTMLElement => Unit)(using Element): Unit
inline
def placeholder(value: String)(using HTMLElement): Unit
inline
def position(style: String)(using HTMLElement): Unit
inline
def poster(value: String)(using HTMLElement): Unit
inline
def pre(init: HTMLPreElement => Unit)(using Element): Unit
inline
def preload(value: String)(using HTMLElement): Unit
inline
def progress(init: HTMLProgressElement => Unit)(using Element): Unit
inline
def prop[V](propName: String)(value: V)(using parent: Element, nc: NativeConverter[V]): Unit

Define a Javascript property

Define a Javascript property

Type Params
V

value's type

Value Params
nc

given NativeConverter for value

parent

given Element to apply this property to

propName

name of the prop

value

prop value

inline
def readonly(value: Boolean)(using HTMLElement): Unit
inline
def rel(value: String)(using HTMLElement): Unit
inline
def required(value: Boolean)(using HTMLElement): Unit
inline
def reversed(value: Boolean)(using HTMLElement): Unit
inline
def rowGap(style: String)(using HTMLElement): Unit
inline
def s(init: HTMLElement => Unit)(using Element): Unit
inline
def section(init: HTMLElement => Unit)(using Element): Unit
inline
def select(init: HTMLSelectElement => Unit)(using Element): Unit
inline
def selected(value: Boolean)(using HTMLElement): Unit
inline
def slot(init: HTMLElement => Unit)(using Element): Unit
inline
def slot(value: String)(using HTMLElement): Unit
inline
def small(init: HTMLElement => Unit)(using Element): Unit
inline
def source(init: HTMLSourceElement => Unit)(using Element): Unit
inline
def span(init: HTMLSpanElement => Unit)(using Element): Unit
inline
def spellcheck(value: Boolean)(using HTMLElement): Unit
inline
def src(value: String)(using HTMLElement): Unit
inline
def srcset(value: String)(using HTMLElement): Unit
inline
def strong(init: HTMLElement => Unit)(using Element): Unit
inline
def style(init: HTMLStyleElement => Unit)(using Element): Unit
inline
def style(value: String)(using HTMLElement): Unit
inline
def sub(init: HTMLElement => Unit)(using Element): Unit
inline
def sup(init: HTMLElement => Unit)(using Element): Unit
inline
def tabindex(value: Int)(using HTMLElement): Unit
inline
def table(init: HTMLTableElement => Unit)(using Element): Unit
inline
def tag[T](tagName: String)(init: T => Unit)(using parent: Element): Unit
inline
def target(value: String)(using HTMLElement): Unit
inline
def tbody(init: HTMLTableSectionElement => Unit)(using Element): Unit
inline
def td(init: HTMLTableCellElement => Unit)(using Element): Unit
inline
def template(init: HTMLElement => Unit)(using Element): Unit
inline
def textAlign(style: String)(using HTMLElement): Unit
inline
def textDecoration(style: String)(using HTMLElement): Unit
inline
def textIndent(style: String)(using HTMLElement): Unit
inline
def textTransform(style: String)(using HTMLElement): Unit
inline
def textarea(init: HTMLTextAreaElement => Unit)(using Element): Unit
inline
def tfoot(init: HTMLTableSectionElement => Unit)(using Element): Unit
inline
def th(init: HTMLTableCellElement => Unit)(using Element): Unit
inline
def thead(init: HTMLTableSectionElement => Unit)(using Element): Unit
inline
def time(init: HTMLElement => Unit)(using Element): Unit
inline
def title(init: HTMLTitleElement => Unit)(using Element): Unit
inline
def title(value: String)(using HTMLElement): Unit
inline
def top(style: String)(using HTMLElement): Unit
inline
def tr(init: HTMLTableRowElement => Unit)(using Element): Unit
inline
def ul(init: HTMLUListElement => Unit)(using Element): Unit
inline
def value(value: String)(using HTMLElement): Unit
inline
def verticalAlign(style: String)(using HTMLElement): Unit
inline
def video(init: HTMLVideoElement => Unit)(using Element): Unit
inline
def visibility(style: String)(using HTMLElement): Unit
inline
def width(style: String)(using HTMLElement): Unit
inline
def wrap(value: String)(using HTMLElement): Unit
inline
def zIndex(style: String)(using HTMLElement): Unit

Extensions

Extensions

extension (s: String)
inline
def t(using pe: Element): Unit

Creates a TextNode

Creates a TextNode

extension (sc: StringContext)
inline
def t(using inline pe: Element, inline pb: Binding[_])(inline args: Any*): Unit

t = TextNode Interpolator
An easy way to interpolate text and elements

t = TextNode Interpolator
An easy way to interpolate text and elements