CAF Noodle JavaScript

Class Noodle.HTML

Object
   |
   +--Noodle.HTML

class Noodle.HTML


Utilities for manipulating html.
Defined in noodle.js


Constructor Summary
Noodle.HTML ()
           
 
Method Summary
<static> Object button(<string> label, <string> onclick, <string> id, <string> css)
           Returns the html for a button with a label and onclick handler; and optional id and class-name.
<static> Object checkBox(<string> name, <string> label, <string> id, <string> css, <boolean> checked)
           Returns the html for an input with the specified name and label, and optional id, class-name, and checked state.
<static> Object confirm(<string> msg, <string> name, <boolean> checked, <string> skipLabel)
           Returns the html for the content of a confirm dialog which includes the option to turn off the confirm dialog in the future.
<static> Object image(<string> src, <string> title, <string> href, <string> id, <string> css)
           Returns the html for an image with a source and title; and optional link href, id, and class-name.
<static> Object input(<string> name, <string> value, <string> id, <string> css, <string> type)
           Returns the html for an input with the specified name and optional value, id, class-name, and type.
<static> Object label(<string> label, <string> fid, <string> css)
           Returns the html for a label with the specified label text and optional for-id and css class.
<static> Object propertyGroup(<string> label, <string> content)
           Returns the html for a property group with the specified content and optional label.
<static> Object propertyLine(<string> label, content, fid)
           Returns the html for a property line with the specified content and optional label and input-for-id.
<static> Object radioButtonGroup(<string> name, <object[]> options, <string> id, <string> css)
           Returns the html for a radio-button group with the specified name and array of options.
<static> Object selectBox(<string> name, <object[]> options, <string> id, <string> css, <boolean> multiple)
           Returns the html for a select-box with the specified name and array of options.
<static> Object submitGroup(<string> submitLabel, <function> submitFn, <string> cancelLabel, <function> cancelFn)
           Returns the html for a submit-buttons group with the specified submit and/or cancel label and onclick fn.
<static> Object tabs(tabs, <string> id, <string> css)
           Returns the html for a tabs list with the specified array of tabs.

Constructor Detail

Noodle.HTML

Noodle.HTML()

Method Detail

button

<static> Object button(<string> label, <string> onclick, <string> id, <string> css)

checkBox

<static> Object checkBox(<string> name, <string> label, <string> id, <string> css, <boolean> checked)

confirm

<static> Object confirm(<string> msg, <string> name, <boolean> checked, <string> skipLabel)

image

<static> Object image(<string> src, <string> title, <string> href, <string> id, <string> css)

input

<static> Object input(<string> name, <string> value, <string> id, <string> css, <string> type)

label

<static> Object label(<string> label, <string> fid, <string> css)

propertyGroup

<static> Object propertyGroup(<string> label, <string> content)

propertyLine

<static> Object propertyLine(<string> label, content, fid)

radioButtonGroup

<static> Object radioButtonGroup(<string> name, <object[]> options, <string> id, <string> css)

selectBox

<static> Object selectBox(<string> name, <object[]> options, <string> id, <string> css, <boolean> multiple)

submitGroup

<static> Object submitGroup(<string> submitLabel, <function> submitFn, <string> cancelLabel, <function> cancelFn)

tabs

<static> Object tabs(tabs, <string> id, <string> css)

CAF Noodle JavaScript

Documentation generated by JSDoc on Fri Sep 20 11:58:17 2013