Class name

E.bootstrap.list (0.2.0)

Methods

Method Parameters Returns Description Example
child any buildable this Add content to component child('Hello world')
attr key, value this Add attribute key/value to component attr('id','mywell')
build string Build string of component markup build()
append jquery selector boolean Build and append string to DOM append('#mydiv')
ordered this Set ordered mode (<ol></ol>) ordered()
unordered this Set unordered mode (<ul></ul>) unordered()
inline this Set inline mode (.list-inline) inline()

Examples

Default (unordered)
  • Item A
  • Item B
  • Item C
Ordered
  1. Item A
  2. Item B
  3. Item C
Inline
  • Item A
  • Item B
  • Item C
Last modified: 2016-02-05