module LuckyHXML::Builder

Included Modules

Direct including types

Defined in:

lucky_hxml/builder.cr

Constant Summary

ASSIGNS = [] of Nil
HABITAT_SETTINGS = [{decl: indent : String | Int32 | Nil = nil, example: nil, validation: nil}, {decl: quote_char : Char | ::Nil = nil, example: nil, validation: nil}] of Nil

Constructors

Class Method Summary

Instance Method Summary

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, &) : Nil
share_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, &) : Nil
alert_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, &) : Nil
behavior(**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

Constructor Detail

def self.new(**unused_exposures) #

Class Method Detail

def self.configure(&) #

[View source]
def self.settings #

[View source]

Instance Method Detail

def attribute(*args, **options) #

[View source]
def attribute(*args, **options, &) #

[View source]
def element(*args, **options) #

[View source]
def element(*args, **options, &) #

[View source]
def perform_render(io : IO) : Nil #

Renders XML document to IO


[View source]
def perform_render : String #

Renders XML document to String


[View source]
def settings #

[View source]
def to_s(io) #

[View source]
def xml : XML::Builder #

def xml=(xml : XML::Builder) #

[View source]
def xml? : XML::Builder | Nil #