abstract class Motion::Base

Included Modules

Defined in:

motion/base.cr

Instance Method Summary

Instance methods inherited from module Motion::HTML::Engine

view view

Instance methods inherited from module Motion::HTML::WithDefaults

with_defaults(**named_args, &) with_defaults

Instance methods inherited from module Motion::MountComponent

m(component_class : Motion::Base.class, *args, **named_args) : Nil
m(component_class : Motion::Base.class, *args, **named_args, &) : Nil
m
, mount(component_class : Motion::Base.class, *args, **named_args) : Nil
mount(component_class : Motion::Base.class, *args, **named_args, &) : Nil
mount

Instance methods inherited from module Motion::HTML::ForgeryProtectionHelpers

csrf_hidden_input : Nil csrf_hidden_input, csrf_meta_tags : Nil csrf_meta_tags

Instance methods inherited from module Motion::HTML::TimeHelpers

distance_of_time_in_words(from : Time, to : Time) : String distance_of_time_in_words, time_ago_in_words(from : Time) : String time_ago_in_words

Instance methods inherited from module Motion::HTML::HTMLTextHelpers

highlight(text : String, phrases : Array(String | Regex), highlighter : Proc | String = "<mark>\\1</mark>", escape : Bool = true) : Nil
highlight(text : String, phrases : Array(String | Regex), escape : Bool = false, &block : String -> _) : Nil
highlight(text : String, phrase : String | Regex, highlighter : Proc | String = "<mark>\\1</mark>", escape : Bool = true) : Nil
highlight(text : String, phrase : String | Regex, escape : Bool = true, &block : String -> _) : Nil
highlight
, simple_format(text : String, &block : String -> _) : Nil
simple_format(text : String, escape : Bool = true, **html_options) : Nil
simple_format
, truncate(text : String, length : Int32 = 30, omission : String = "...", separator : String | Nil = nil, escape : Bool = true, blk : Nil | Proc = nil) : Nil
truncate(text : String, length : Int32 = 30, omission : String = "...", separator : String | Nil = nil, escape : Bool = true, &block : -> _) : Nil
truncate

Instance methods inherited from module Motion::HTML::TextHelpers

current_cycle(name : String = "default") current_cycle, cycle(values : Array, name = "default") : String
cycle(*values, name : String = "default") : String
cycle
, excerpt(text : String, phrase : Regex | String, separator : String = "", radius : Int32 = 100, omission : String = "...") : String excerpt, pluralize(count : Int | String | Nil, singular : String, plural = nil) : String pluralize, reset_cycle(name : String = "default") reset_cycle, reset_cycles reset_cycles, to_sentence(list : Enumerable, word_connector : String = ", ", two_word_connector : String = " and ", last_word_connector : String = ", and ") : String to_sentence, truncate_text(text : String, length : Int32 = 30, omission : String = "...", separator : String | Nil = nil) : String truncate_text, word_wrap(text : String, line_width : Int32 = 80, break_sequence : String = "\n") : String word_wrap

Instance methods inherited from module Motion::HTML::NumberToCurrency

number_to_currency(value : Float | Int32 | String, precision : Int32 = DEFAULT_PRECISION, unit : String = DEFAULT_UNIT, separator : String = DEFAULT_SEPARATOR, delimiter : String = DEFAULT_DELIMITER, delimiter_pattern : Regex = DEFAULT_DELIMITER_REGEX, format : String = DEFAULT_FORMAT, negative_format : String = DEFAULT_FORMAT) : String number_to_currency

Instance methods inherited from module Motion::HTML::AssetHelpers

dynamic_asset(path) dynamic_asset

Instance methods inherited from module Motion::HTML::SpecialtyTags

canonical_link(href : String) : Nil canonical_link, css_link(href, **options) : Nil css_link, html_doctype : Nil html_doctype, js_link(src, **options) : Nil js_link, nbsp(how_many : Int32 = 1) : Nil nbsp, raw(string : String) : Nil raw, responsive_meta_tag(**options) : Nil responsive_meta_tag, utf8_charset : Nil utf8_charset

Instance methods inherited from module Motion::HTML::SelectHelpers

options_for_select(field : Avram::PermittedAttribute(T), select_options : Array(Tuple(String, T)), **html_options) : Nil forall T options_for_select, select_input(field : Avram::PermittedAttribute, **html_options, &) : Nil select_input, select_prompt(label : String) : Nil select_prompt

Instance methods inherited from module Motion::HTML::InputHelpers

checkbox(field : Avram::PermittedAttribute(T), unchecked_value : String, checked_value : String, **html_options) : Nil forall T
checkbox(field : Avram::PermittedAttribute(Bool | Nil), attrs : Array(Symbol), **html_options) : Nil
checkbox(field : Avram::PermittedAttribute(Bool | Nil), **html_options) : Nil
checkbox(field : Avram::Attribute, **options)
checkbox
, color_input(field : Avram::PermittedAttribute, attrs : Array(Symbol), **html_options) : Nil
color_input(field : Avram::Attribute, **options)
color_input(field : Avram::PermittedAttribute, **html_options) : Nil
color_input
, date_input(field : Avram::PermittedAttribute, attrs : Array(Symbol), **html_options) : Nil
date_input(field : Avram::Attribute, **options)
date_input(field : Avram::PermittedAttribute, **html_options) : Nil
date_input
, datetime_input(field : Avram::PermittedAttribute, attrs : Array(Symbol), **html_options) : Nil
datetime_input(field : Avram::Attribute, **options)
datetime_input(field : Avram::PermittedAttribute, **html_options) : Nil
datetime_input
, email_input(field : Avram::PermittedAttribute, attrs : Array(Symbol), **html_options) : Nil
email_input(field : Avram::Attribute, **options)
email_input(field : Avram::PermittedAttribute, **html_options) : Nil
email_input
, file_input(field : Avram::PermittedAttribute, attrs : Array(Symbol), **html_options) : Nil
file_input(field : Avram::Attribute, **options)
file_input(field : Avram::PermittedAttribute, **html_options) : Nil
file_input
, hidden_input(field : Avram::PermittedAttribute, attrs : Array(Symbol), **html_options) : Nil
hidden_input(field : Avram::Attribute, **options)
hidden_input(field : Avram::PermittedAttribute, **html_options) : Nil
hidden_input
, number_input(field : Avram::PermittedAttribute, attrs : Array(Symbol), **html_options) : Nil
number_input(field : Avram::Attribute, **options)
number_input(field : Avram::PermittedAttribute, **html_options) : Nil
number_input
, password_input(field : Avram::PermittedAttribute, attrs : Array(Symbol), **html_options) : Nil
password_input(field : Avram::Attribute, **options)
password_input(field : Avram::PermittedAttribute, **html_options) : Nil
password_input
, radio(field : Avram::PermittedAttribute(String | Nil), checked_value : String, attrs : Array(Symbol), **html_options) : Nil
radio(field : Avram::PermittedAttribute(String | Nil), checked_value : String, **html_options) : Nil
radio(field : Avram::Attribute, **options)
radio
, range_input(field : Avram::PermittedAttribute, attrs : Array(Symbol), **html_options) : Nil
range_input(field : Avram::Attribute, **options)
range_input(field : Avram::PermittedAttribute, **html_options) : Nil
range_input
, search_input(field : Avram::PermittedAttribute, attrs : Array(Symbol), **html_options) : Nil
search_input(field : Avram::Attribute, **options)
search_input(field : Avram::PermittedAttribute, **html_options) : Nil
search_input
, submit(text : String, **html_options) : Nil submit, telephone_input(field : Avram::PermittedAttribute, attrs : Array(Symbol), **html_options) : Nil
telephone_input(field : Avram::Attribute, **options)
telephone_input(field : Avram::PermittedAttribute, **html_options) : Nil
telephone_input
, text_input(field : Avram::PermittedAttribute, attrs : Array(Symbol), **html_options) : Nil
text_input(field : Avram::Attribute, **options)
text_input(field : Avram::PermittedAttribute, **html_options) : Nil
text_input
, textarea(field : Avram::PermittedAttribute, attrs : Array(Symbol), **html_options) : Nil
textarea(field : Avram::Attribute, **options)
textarea(field : Avram::PermittedAttribute, **html_options) : Nil
textarea
, time_input(field : Avram::PermittedAttribute, attrs : Array(Symbol), **html_options) : Nil
time_input(field : Avram::Attribute, **options)
time_input(field : Avram::PermittedAttribute, **html_options) : Nil
time_input
, url_input(field : Avram::PermittedAttribute, attrs : Array(Symbol), **html_options) : Nil
url_input(field : Avram::Attribute, **options)
url_input(field : Avram::PermittedAttribute, **html_options) : Nil
url_input

Instance methods inherited from module Motion::HTML::LabelHelpers

label_for(field : Avram::PermittedAttribute, text : String | Nil = nil, **html_options) : Nil
label_for(field : Avram::PermittedAttribute, **html_options, &) : Nil
label_for(field, **options) : Nil
label_for(field, **options, &) : Nil
label_for

Instance methods inherited from module Motion::HTML::CustomTags

empty_tag(name : String, options = EMPTY_HTML_ATTRS, **other_options) : Nil empty_tag, tag(name : String, content : String | Motion::HTML::AllowedInTags) : Nil
tag(name : String, content : Motion::HTML::AllowedInTags | String | Nil = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
tag(name : String, &) : Nil
tag(name : String, attrs : Array(Symbol) = [] of Symbol, options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
tag

Instance methods inherited from module Motion::HTML::BaseTags

a(content : String | Motion::HTML::AllowedInTags) : Nil
a(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
a(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
a(&) : Nil
a(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
a
, abbr(content : String | Motion::HTML::AllowedInTags) : Nil
abbr(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
abbr(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
abbr(&) : Nil
abbr(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
abbr
, address(content : String | Motion::HTML::AllowedInTags) : Nil
address(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
address(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
address(&) : Nil
address(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
address
, article(content : String | Motion::HTML::AllowedInTags) : Nil
article(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
article(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
article(&) : Nil
article(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
article
, aside(content : String | Motion::HTML::AllowedInTags) : Nil
aside(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
aside(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
aside(&) : Nil
aside(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
aside
, b(content : String | Motion::HTML::AllowedInTags) : Nil
b(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
b(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
b(&) : Nil
b(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
b
, bdi(content : String | Motion::HTML::AllowedInTags) : Nil
bdi(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
bdi(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
bdi(&) : Nil
bdi(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
bdi
, body(content : String | Motion::HTML::AllowedInTags) : Nil
body(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
body(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
body(&) : Nil
body(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
body
, br(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options) : Nil
br : Nil
br(options = EMPTY_HTML_ATTRS, **other_options) : Nil
br
, button(content : String | Motion::HTML::AllowedInTags) : Nil
button(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
button(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
button(&) : Nil
button(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
button
, code(content : String | Motion::HTML::AllowedInTags) : Nil
code(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
code(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
code(&) : Nil
code(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
code
, dd(content : String | Motion::HTML::AllowedInTags) : Nil
dd(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
dd(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
dd(&) : Nil
dd(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
dd
, details(content : String | Motion::HTML::AllowedInTags) : Nil
details(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
details(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
details(&) : Nil
details(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
details
, dialog(content : String | Motion::HTML::AllowedInTags) : Nil
dialog(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
dialog(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
dialog(&) : Nil
dialog(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
dialog
, div(content : String | Motion::HTML::AllowedInTags) : Nil
div(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
div(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
div(&) : Nil
div(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
div
, dl(content : String | Motion::HTML::AllowedInTags) : Nil
dl(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
dl(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
dl(&) : Nil
dl(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
dl
, dt(content : String | Motion::HTML::AllowedInTags) : Nil
dt(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
dt(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
dt(&) : Nil
dt(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
dt
, em(content : String | Motion::HTML::AllowedInTags) : Nil
em(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
em(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
em(&) : Nil
em(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
em
, fieldset(content : String | Motion::HTML::AllowedInTags) : Nil
fieldset(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
fieldset(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
fieldset(&) : Nil
fieldset(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
fieldset
, figcaption(content : String | Motion::HTML::AllowedInTags) : Nil
figcaption(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
figcaption(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
figcaption(&) : Nil
figcaption(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
figcaption
, figure(content : String | Motion::HTML::AllowedInTags) : Nil
figure(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
figure(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
figure(&) : Nil
figure(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
figure
, footer(content : String | Motion::HTML::AllowedInTags) : Nil
footer(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
footer(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
footer(&) : Nil
footer(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
footer
, form(content : String | Motion::HTML::AllowedInTags) : Nil
form(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
form(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
form(&) : Nil
form(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
form
, h1(content : String | Motion::HTML::AllowedInTags) : Nil
h1(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
h1(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
h1(&) : Nil
h1(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
h1
, h2(content : String | Motion::HTML::AllowedInTags) : Nil
h2(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
h2(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
h2(&) : Nil
h2(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
h2
, h3(content : String | Motion::HTML::AllowedInTags) : Nil
h3(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
h3(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
h3(&) : Nil
h3(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
h3
, h4(content : String | Motion::HTML::AllowedInTags) : Nil
h4(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
h4(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
h4(&) : Nil
h4(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
h4
, h5(content : String | Motion::HTML::AllowedInTags) : Nil
h5(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
h5(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
h5(&) : Nil
h5(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
h5
, h6(content : String | Motion::HTML::AllowedInTags) : Nil
h6(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
h6(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
h6(&) : Nil
h6(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
h6
, head(content : String | Motion::HTML::AllowedInTags) : Nil
head(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
head(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
head(&) : Nil
head(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
head
, header(content : String | Motion::HTML::AllowedInTags) : Nil
header(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
header(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
header(&) : Nil
header(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
header
, hr(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options) : Nil
hr : Nil
hr(options = EMPTY_HTML_ATTRS, **other_options) : Nil
hr
, html(content : String | Motion::HTML::AllowedInTags) : Nil
html(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
html(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
html(&) : Nil
html(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
html
, i(content : String | Motion::HTML::AllowedInTags) : Nil
i(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
i(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
i(&) : Nil
i(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
i
, iframe(content : String | Motion::HTML::AllowedInTags) : Nil
iframe(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
iframe(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
iframe(&) : Nil
iframe(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
iframe
, img(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options) : Nil
img : Nil
img(options = EMPTY_HTML_ATTRS, **other_options) : Nil
img
, input(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options) : Nil
input : Nil
input(options = EMPTY_HTML_ATTRS, **other_options) : Nil
input
, label(content : String | Motion::HTML::AllowedInTags) : Nil
label(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
label(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
label(&) : Nil
label(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
label
, li(content : String | Motion::HTML::AllowedInTags) : Nil
li(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
li(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
li(&) : Nil
li(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
li
, main(content : String | Motion::HTML::AllowedInTags) : Nil
main(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
main(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
main(&) : Nil
main(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
main
, mark(content : String | Motion::HTML::AllowedInTags) : Nil
mark(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
mark(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
mark(&) : Nil
mark(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
mark
, menuitem(content : String | Motion::HTML::AllowedInTags) : Nil
menuitem(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
menuitem(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
menuitem(&) : Nil
menuitem(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
menuitem
, meta(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options) : Nil
meta : Nil
meta(options = EMPTY_HTML_ATTRS, **other_options) : Nil
meta
, meter(content : String | Motion::HTML::AllowedInTags) : Nil
meter(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
meter(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
meter(&) : Nil
meter(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
meter
, nav(content : String | Motion::HTML::AllowedInTags) : Nil
nav(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
nav(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
nav(&) : Nil
nav(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
nav
, ol(content : String | Motion::HTML::AllowedInTags) : Nil
ol(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
ol(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
ol(&) : Nil
ol(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
ol
, option(content : String | Motion::HTML::AllowedInTags) : Nil
option(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
option(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
option(&) : Nil
option(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
option
, para(content : String | Motion::HTML::AllowedInTags) : Nil
para(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
para(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
para(&) : Nil
para(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
para
, pre(content : String | Motion::HTML::AllowedInTags) : Nil
pre(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
pre(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
pre(&) : Nil
pre(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
pre
, progress(content : String | Motion::HTML::AllowedInTags) : Nil
progress(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
progress(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
progress(&) : Nil
progress(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
progress
, rp(content : String | Motion::HTML::AllowedInTags) : Nil
rp(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
rp(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
rp(&) : Nil
rp(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
rp
, rt(content : String | Motion::HTML::AllowedInTags) : Nil
rt(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
rt(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
rt(&) : Nil
rt(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
rt
, ruby(content : String | Motion::HTML::AllowedInTags) : Nil
ruby(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
ruby(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
ruby(&) : Nil
ruby(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
ruby
, s(content : String | Motion::HTML::AllowedInTags) : Nil
s(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
s(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
s(&) : Nil
s(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
s
, script(content : String | Motion::HTML::AllowedInTags) : Nil
script(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
script(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
script(&) : Nil
script(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
script
, section(content : String | Motion::HTML::AllowedInTags) : Nil
section(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
section(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
section(&) : Nil
section(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
section
, select_tag(content : String | Motion::HTML::AllowedInTags) : Nil
select_tag(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
select_tag(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
select_tag(&) : Nil
select_tag(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
select_tag
, small(content : String | Motion::HTML::AllowedInTags) : Nil
small(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
small(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
small(&) : Nil
small(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
small
, source(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options) : Nil
source : Nil
source(options = EMPTY_HTML_ATTRS, **other_options) : Nil
source
, span(content : String | Motion::HTML::AllowedInTags) : Nil
span(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
span(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
span(&) : Nil
span(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
span
, strong(content : String | Motion::HTML::AllowedInTags) : Nil
strong(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
strong(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
strong(&) : Nil
strong(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
strong
, style(styles : String) : Nil style, summary(content : String | Motion::HTML::AllowedInTags) : Nil
summary(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
summary(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
summary(&) : Nil
summary(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
summary
, table(content : String | Motion::HTML::AllowedInTags) : Nil
table(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
table(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
table(&) : Nil
table(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
table
, tbody(content : String | Motion::HTML::AllowedInTags) : Nil
tbody(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
tbody(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
tbody(&) : Nil
tbody(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
tbody
, td(content : String | Motion::HTML::AllowedInTags) : Nil
td(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
td(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
td(&) : Nil
td(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
td
, template(content : String | Motion::HTML::AllowedInTags) : Nil
template(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
template(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
template(&) : Nil
template(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
template
, text(content : String | Motion::HTML::AllowedInTags) : Nil text, textarea(content : String | Motion::HTML::AllowedInTags) : Nil
textarea(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
textarea(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
textarea(&) : Nil
textarea(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
textarea
, th(content : String | Motion::HTML::AllowedInTags) : Nil
th(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
th(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
th(&) : Nil
th(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
th
, thead(content : String | Motion::HTML::AllowedInTags) : Nil
thead(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
thead(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
thead(&) : Nil
thead(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
thead
, time(content : String | Motion::HTML::AllowedInTags) : Nil
time(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
time(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
time(&) : Nil
time(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
time
, title(content : String | Motion::HTML::AllowedInTags) : Nil
title(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
title(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
title(&) : Nil
title(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
title
, tr(content : String | Motion::HTML::AllowedInTags) : Nil
tr(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
tr(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
tr(&) : Nil
tr(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
tr
, u(content : String | Motion::HTML::AllowedInTags) : Nil
u(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
u(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
u(&) : Nil
u(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
u
, ul(content : String | Motion::HTML::AllowedInTags) : Nil
ul(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
ul(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
ul(&) : Nil
ul(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
ul
, video(content : String | Motion::HTML::AllowedInTags) : Nil
video(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
video(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
video(&) : Nil
video(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
video
, wbr(content : String | Motion::HTML::AllowedInTags) : Nil
wbr(content : Motion::HTML::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil
wbr(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
wbr(&) : Nil
wbr(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil
wbr

Instance Method Detail

def motion_component : Bool #

[View source]
def motion_component=(motion_component : Bool) #

[View source]
def view : IO::Memory #

[View source]
def view=(view : IO::Memory) #

[View source]