55isHome: true
66---
77
8- < section class ="bs-docs-section clearfix ">
8+ <section class="bs-docs-section">
99 <h1 id="overview" class="page-header">
1010 Overview
1111 </h1>
@@ -24,7 +24,7 @@ <h1 id="overview" class="page-header">
2424 </ul>
2525</section>
2626
27- < section >
27+ <section class="clearfix" >
2828 <b>But let's look at a live example !</b>
2929
3030 <div class="col-md-12 col-lg-10 col-lg-offset-1">
@@ -677,15 +677,15 @@ <h4>Plugins methods</h4>
677677 </div>
678678
679679 <div class="bs-callout">
680- < h4 > < code > .validate()</ code > </ h4 >
680+ <h4 id="method-validate" ><code>.validate()</code></h4>
681681
682682 <p>Returns a boolean indicating whether the builder is valid or not. Use the <code>validationError</code> event to
683683 catch
684684 per-rule validation errors. If <code>display_errors</code> is enabled the invalid rules will turn red.</p>
685685 </div>
686686
687687 <div class="bs-callout">
688- < h4 > < code > .getRules([options])</ code > </ h4 >
688+ <h4 id="method-getRules" ><code>.getRules([options])</code></h4>
689689
690690 <p>Performs validation and returns the rules as a plain JSON object. See the <a
691691 href="{{site.github.url}}/demo.html">demo</a> for output example. The method takes an optional object of options.
@@ -739,7 +739,7 @@ <h4>Other formats</h4>
739739 </div>
740740
741741 <div class="bs-callout">
742- < h4 > < code > .setRules(rules [, options])</ code > </ h4 >
742+ <h4 id="method-setRules" ><code>.setRules(rules [, options])</code></h4>
743743
744744 <p>Clears the builder and sets new rules. The parameters must have the same structure as the output of <code>getRules</code>.
745745 <a data-bootbox="rules_format"> <i class="glyphicon glyphicon-info-sign"></i> See an example</a></p>
@@ -972,7 +972,7 @@ <h5>Flags</h5>
972972 </div>
973973
974974 <div class="bs-callout">
975- < h4 > < code > .getModel([element])</ code > </ h4 >
975+ <h4 id="method-getModel" ><code>.getModel([element])</code></h4>
976976
977977 <p>Given a group or rule DOM element, returns the associated <b>Group</b> or <b>Rule</b> object. Useful to perform
978978 manual operations on the builder (see <a href="#inside_the_box">Inside the box</a>). Without parameters it returns
@@ -987,7 +987,7 @@ <h4><code>.getModel([element])</code></h4>
987987 </div>
988988
989989 <div class="bs-callout">
990- < h4 > < code > .reset()</ code > </ h4 >
990+ <h4 id="method-reset" ><code>.reset()</code></h4>
991991
992992 <p>Removes all rules.</p>
993993 <!-- @formatter:off -->
@@ -998,7 +998,7 @@ <h4><code>.reset()</code></h4>
998998 </div>
999999
10001000 <div class="bs-callout">
1001- < h4 > < code > .destroy()</ code > </ h4 >
1001+ <h4 id="method-destroy" ><code>.destroy()</code></h4>
10021002
10031003 <p>Completely destroy the builder and it's data.</p>
10041004 <!-- @formatter:off -->
0 commit comments