# vim: sw=3 ts=3 et ft=org
#+TITLE: List Element
#+STYLE: <LINK href='../stylesheet.css' rel='stylesheet' type='text/css' />
#+AUTHOR: Jesse Gumm (@jessegumm)
#+OPTIONS:   H:2 num:1 toc:1 \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+EMAIL: 
#+TEXT: [[file:../index.org][Getting Started]] | [[file:../api.org][API]] | [[file:../elements.org][*Elements*]] | [[file:../actions.org][Actions]] | [[file:../validators.org][Validators]] | [[file:../handlers.org][Handlers]] | [[file:../config.org][Configuration Options]] | [[file:../about.org][About]]

* List Element - #list {}

The list element produces an HTML list element (<ol> and <ul>).

** Usage

#+BEGIN_SRC erlang
   #list{
      numbered=true,
      body=[
         #listitem{ ... },
         #listitem{ ... },
         #listitem{ ... } 
      ]
   }.
	
#+END_SRC

** Attributes
  
   + numbered - (/boolean/) :: Set to true to make this a numbered list, otherwise it will be typical bullet list.
 
   + body - (/list of Nitrogen #listitem{} elements/) :: A list of listitems elements

   + role - (/atom or string/) :: Set the [[http://www.w3.org/TR/xhtml-role/][XHTML Role attribute]].

** See Also

   + [[./base.html][base element]]

   + [[./listitem.html][listitem element]] 

   + [[./mobile_list.html][mobile_list element]]
