Component

trait Component

A Shaka Component provides a template for some part of an application, as well as the means to render said template to the DOM.

class Object
trait Matchable
class Any

Value members

Abstract methods

Defines the component's template.

Defines the component's template.

Concrete methods

def render(using parentElement: Element, parentBinding: Binding[_]): Unit

Renders this Component's template. render should only be overriden when implementing new Component types. For example, [[WebComponent]] overrides render to wrap super.render in a Custom Element, allowing you to use shadow-dom and lifecycle callbacks.

Renders this Component's template. render should only be overriden when implementing new Component types. For example, [[WebComponent]] overrides render to wrap super.render in a Custom Element, allowing you to use shadow-dom and lifecycle callbacks.