Sha256: 86c678c9fe6abd2cd5a21bc68e835fd056db47c2a665f762c2b4493457359dae

Contents?: true

Size: 795 Bytes

Versions: 20

Compression:

Stored size: 795 Bytes

Contents

h3 { 'icon()' }

section {
  para {
    text_node "Font Awesome (FA) has over 600 icons for commercial use. To use FA icons in ExpressUI, use the"
    code { "icon" }
    text_node "component. Simply look for the FA class and append it as a value. No need to prepend the"
    code { ".fa-" }
    text_node "icon class as instructed in the FA document because ExpressUI already automatically prepends it. To know which classes to use, see the"
    a(href: 'http://fontawesome.io/icons/') { "Font Awesome documentation" }
    text_node "."
  }

  code_demo {
    %Q{
      icon 'close'
      icon 'check'
    }
  }
}

h3 { 'icon_link()' }
section {
  code_demo {
    %Q{
      icon_link(
        'cancel',
        text: 'View Site',
        href: '/',
        target: '_blank'
      )
    }
  }

}

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
express_ui-0.5.0 app/views/express_ui/uicomponents/_icons.html.et
express_ui-0.4.2 app/views/express_ui/uicomponents/_icons.html.et
express_ui-0.4.1 app/views/express_ui/uicomponents/_icons.html.et
express_ui-0.4.0 app/views/express_ui/uicomponents/_icons.html.et
express_ui-0.3.0 app/views/express_ui/uicomponents/_icons.html.et
express_ui-0.2.1 app/views/express_ui/uicomponents/_icons.html.et
express_ui-0.2.0 app/views/express_ui/uicomponents/_icons.html.et
express_ui-0.1.7 app/views/express_ui/uicomponents/_icons.html.et
express_ui-0.1.6 app/views/express_ui/uicomponents/_icons.html.et
express_ui-0.1.5 app/views/express_ui/uicomponents/_icons.html.et
express_ui-0.1.4 app/views/express_ui/uicomponents/_icons.html.et
express_ui-0.1.3 app/views/express_ui/uicomponents/_icons.html.et
express_ui-0.1.2 app/views/express_ui/uicomponents/_icons.html.et
express_ui-0.1.1 app/views/express_ui/uicomponents/_icons.html.et
express_ui-0.1.0 app/views/express_ui/uicomponents/_icons.html.et
express_ui-0.1.0.rc7 app/views/express_ui/uicomponents/_icons.html.et
express_ui-0.1.0.rc5 app/views/express_ui/uicomponents/_icons.html.et
express_ui-0.1.0.rc4 app/views/express_ui/uicomponents/_icons.html.et
express_ui-0.1.0.rc3 app/views/express_ui/uicomponents/_icons.html.et
express_ui-0.1.0.rc1 app/views/express_ui/uicomponents/_icons.html.et