Funicular::ViewContext class of PicoRuby
Singleton methods
new
Funicular::ViewContext.new(Component component) -> void
Instance methods
a
instance.a(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
add_child
instance.add_child(untyped child) -> void
article
instance.article(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
aside
instance.aside(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
audio
instance.audio(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
br
instance.br(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
button
instance.button(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
button_to
instance.button_to(String path, ?method: Symbol, **untyped options) ?{ -> untyped } -> VDOM::Element
canvas
instance.canvas(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
capture
instance.capture() { () -> untyped } -> Array[VDOM::child_t]
component
instance.component(singleton(Component) component_class, ?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Component
data
instance.data(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
div
instance.div(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
footer
instance.footer(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
form
instance.form(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
form_for
instance.form_for(Symbol model_key, ?Hash[Symbol, untyped] options) { (FormBuilder) -> void } -> VDOM::Element
h1
instance.h1(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
h2
instance.h2(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
h3
instance.h3(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
h4
instance.h4(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
h5
instance.h5(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
h6
instance.h6(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
header
instance.header(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
hr
instance.hr(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
img
instance.img(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
input
instance.input(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
label
instance.label(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
li
instance.li(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
link_to
instance.link_to(String path, **untyped options) ?{ -> untyped } -> VDOM::Element
nav
instance.nav(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
ol
instance.ol(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
option
instance.option(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
p
instance.p(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
section
instance.section(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
select
instance.select(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
span
instance.span(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
suspense
instance.suspense(Symbol name, fallback: untyped, ?error: untyped) { (Component::ResourceAccessor) -> untyped } -> untyped
table
instance.table(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
tag
instance.tag(Symbol | String name, ?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
tbody
instance.tbody(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
td
instance.td(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
textarea
instance.textarea(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
th
instance.th(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
thead
instance.thead(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
tr
instance.tr(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
ul
instance.ul(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element
video
instance.video(?Hash[Symbol, untyped] props) ?{ () -> untyped } -> VDOM::Element