Lists

View code
New in v3.6! The lists feature from Blaze CSS!

Use





  • The list supports markdown text
  • The list only decends four generations, anything beyond that is currently ignored.

HTML

Inline: ordered: boolean | inline: boolean | unstyled: boolean

<rg-list ordered=[true|false]></rg-list>

JavaScript


    riot.mount ("rg-list", {list : {items: [
      {text: "Testy **Listy**", items: [{text: "Ducky **Listy**", items: [{text: "Plucky _unstyled_", unstyled: true, items:[{text: "Trucky **Listy**"}]}]}]},
      {text: "Mucky"},
      {text: "Puppy"}
    ]}
  }) ;