abstract class LuckyHXML::Component
- LuckyHXML::Component
- Reference
- Object
Included Modules
- LuckyHXML::Builder
- LuckyHXML::ForgeryProtectionHelpers
- LuckyHXML::FormHelpers
- LuckyHXML::MountComponent
Defined in:
lucky_hxml/component.crConstant Summary
-
ASSIGNS =
[context : HTTP::Server::Context] of Nil
Instance Method Summary
- #context
-
#render(&)
Render HXML with a block
-
#render
Render HXML without a block
Instance methods inherited from module LuckyHXML::ForgeryProtectionHelpers
csrf_hidden_text_field : Nil
csrf_hidden_text_field
Instance methods inherited from module LuckyHXML::MountComponent
mount(component : LuckyHXML::Component.class, *args, **named_args, &) : Nilmount(component : LuckyHXML::Component.class, *args, **named_args) : Nil mount
Instance methods inherited from module LuckyHXML::FormHelpers
form_for(route : Lucky::RouteHelper, **opts, &) : Nilform_for(route action : Lucky::Action.class, **opts, &) : Nil form_for, form_method(route) : String form_method, method_override_text_field(route) : Nil method_override_text_field
Instance methods inherited from module LuckyHXML::Builder
attribute(*args, **options)attribute(*args, **options, &) attribute, element(*args, **options)
element(*args, **options, &) element, perform_render(io : IO) : Nil
perform_render : String perform_render, settings settings, to_s(io) to_s, xml : XML::Builder xml, xml=(xml : XML::Builder) xml=, xml? : XML::Builder | Nil xml?
Constructor methods inherited from module LuckyHXML::Builder
new(**unused_exposures)
new
Class methods inherited from module LuckyHXML::Builder
configure(&)
configure,
settings
settings
Instance methods inherited from module LuckyHXML::Share
share_behavior(dialog_title : String | Nil = nil, subject : String | Nil = nil, message : String | Nil = nil, url : String | Nil = nil, title : String | Nil = nil, **opts, &) : Nilshare_behavior(dialog_title : String | Nil = nil, subject : String | Nil = nil, message : String | Nil = nil, url : String | Nil = nil, title : String | Nil = nil, **opts) : Nil share_behavior, share_namespace : Nil share_namespace
Instance methods inherited from module LuckyHXML::Alert
alert_behavior(title : String, message : String | Nil = nil, **opts, &) : Nilalert_behavior(title : String, message : String | Nil = nil, **opts) : Nil alert_behavior, alert_namespace : Nil alert_namespace, alert_option(label : String, style : ButtonStyle = :default, **opts, &) : Nil
alert_option(label : String, style : ButtonStyle = :default, **opts) : Nil alert_option
Instance methods inherited from module LuckyHXML::Tags
behavior(**opts, &) : Nilbehavior(**opts) : Nil behavior, body(**opts, &) : Nil body, date_field(**opts, &) : Nil date_field, doc(**opts, &) : Nil doc, form(**opts, &) : Nil form, header(**opts, &) : Nil header, hyperview_namespace : Nil hyperview_namespace, image(**opts) : Nil image, item(**opts, &) : Nil item, items(**opts, &) : Nil items, list(**opts, &) : Nil list, modifier(**opts, &) : Nil modifier, option(**opts, &) : Nil option, picker_field(**opts, &) : Nil picker_field, picker_item(**opts) : Nil picker_item, screen(**opts, &) : Nil screen, section_list(**opts, &) : Nil section_list, section_title(**opts, &) : Nil section_title, select_multiple(**opts, &) : Nil select_multiple, select_single(**opts, &) : Nil select_single, spinner(**opts) : Nil spinner, style(**opts, &) : Nil
style(**opts) : Nil style, styles(**opts, &) : Nil styles, switch(**opts) : Nil switch, text(content = "", **opts, &) : Nil
text(content = "", **opts) : Nil text, text_field(**opts, &) : Nil
text_field(**opts) : Nil text_field, view(**opts, &) : Nil
view(**opts) : Nil view, web_view(**opts) : Nil web_view