Skip to content
This repository has been archived by the owner on Jul 10, 2020. It is now read-only.

Commit

Permalink
Added ability to add custom row class (updated README.md)
Browse files Browse the repository at this point in the history
  • Loading branch information
Moritz Fain committed Nov 14, 2016
1 parent 6a6c13e commit 03d91e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ The option `twb-layout` (string) can be passed to the element to render the row
The option `validation-state` (string) can be passed to the element to render the row with a defined validation state class attribute(`has-...`). If the element has messages, `has-error` class attribute is auto added.
The option `column-size` (int) can be passed to the element to render the row with a defined column size class attribute(`col-lg-...`).
The option `help-block` (string) can be passed to the element to render an help block translated appending the element.
The option `twb-row-class` (string) can be passed to the element to render the row with an additional class.

If you like to wrap elements into a <div class="row"> in case you want X number of elements on the same line the option `twb-row-open` (bool) can be passed to the element where the row must start and will be printed before the element is rendered. It could be you have to provide the `column-size` in combination with this option.
The option `twb-row-close` (bool) can be passed to the element to close the earlier opened row and will be printed after the elements is rendered.
Expand Down

0 comments on commit 03d91e4

Please sign in to comment.