# vim: sw=3 ts=3 ft=org

#+TITLE: Panel Element Element
#+STYLE: <LINK href='../stylesheet.css' rel='stylesheet' type='text/css' />
#+AUTHOR: Rusty Klophaus (@rustyio)
#+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]]

* Panel Element - #panel {}

  The panel element produces an HTML div.

** Usage

#+BEGIN_SRC erlang
   #panel { body=[
     #label { text="Label" },
     #value { text="Value" },
     #button { text="Continue", postback=continue }
   ]}
#+END_SRC

** Attributes

   + body - (/Nitrogen element or list of elements./) :: Set the element or elements that will be rendered within this panel.

   + text - (/string/) :: Set to the text of the list item.

   + html\_encode - (/boolean/) :: Set to true to safely html-encode the displayed text.

** See Also

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

   + [[./span.html][span element]]

 
