Module: Klods::Builders

Constant Summary

Constants included from Icons

Icons::CHECK_CIRCLE_ICON, Icons::CHEV_DOWN_ICON, Icons::CHEV_LEFT_ICON, Icons::CHEV_RIGHT_ICON, Icons::CHEV_UP_ICON, Icons::CLOSE_ICON, Icons::COPY_ICON, Icons::DANGER_CIRCLE_ICON, Icons::EDIT_ICON, Icons::EXTERNAL_LINK_ICON, Icons::EYE_ICON, Icons::EYE_OFF_ICON, Icons::INFO_CIRCLE_ICON, Icons::MENU_ICON, Icons::PLUS_ICON, Icons::SEARCH_ICON, Icons::TRASH_ICON, Icons::USER_ICON, Icons::WARNING_ICON

Instance Method Summary collapse

Methods included from Icons

_make_icon, #check_circle_icon, #chev_down_icon, #chev_left_icon, #chev_right_icon, #chev_up_icon, #close_icon, #copy_icon, #danger_circle_icon, #edit_icon, #external_link_icon, #eye_icon, #eye_off_icon, #info_circle_icon, #menu_icon, #plus_icon, #search_icon, #trash_icon, #user_icon, #warning_icon

Methods included from Components::Tooltip

#tooltip

Methods included from Components::Toast

#toast, #toast_region

Methods included from Components::Tabs

#tab_panel, #tabs

Methods included from Components::Table

#table, #table_wrap, #tbody, #td, #th, #thead, #tr

Methods included from Components::Prose

#lead, #muted, #prose, #text_center

Methods included from Components::Nav

#nav, #nav_link, #nav_list, #nav_toggle, #toc, #toc_item, #toc_link

Methods included from Components::Modal

#modal, #modal_actions, #modal_body, #modal_close, #modal_header, #modal_panel, #modal_title

Methods included from Components::List

#list, #list_item

Methods included from Components::Form

#checkbox, #field, #form, #input, #option, #radio, #radio_group, #select, #switch_input, #textarea

Methods included from Components::Dl

#dd, #dl, #dt

Methods included from Components::Details

#details, #summary

Methods included from Components::Code

#code_block, #inline_code, #kbd, #samp, #var_el

Methods included from Components::Card

#card, #card_body, #card_footer, #card_title

Methods included from Components::Button

#button, #button_group

Methods included from Components::Breadcrumb

#breadcrumbs, #crumb

Methods included from Components::Box

#box

Methods included from Components::Badge

#badge

Methods included from Components::Avatar

#avatar

Methods included from Components::Alert

#alert

Methods included from Utilities

#fill, #push

Methods included from Layout

#center, #cluster, #content, #footer, #grid, #header, #page, #row, #section, #sidebar, #sidebar_toggle, #spread, #stack, #text

Methods included from Html

#var_el

Instance Method Details

#el(tag, a = nil, b = nil) ⇒ Object



27
28
29
# File 'lib/klods/builders.rb', line 27

def el(tag, a = nil, b = nil)
  Core.el(tag, a, b)
end

#raw(html) ⇒ Object



31
32
33
# File 'lib/klods/builders.rb', line 31

def raw(html)
  Core.raw(html)
end