Skip to content

Instantly share code, notes, and snippets.

@jschroed91
Created January 11, 2017 13:47
Show Gist options
  • Save jschroed91/17a3a9ff7b2b5d1d2b66a24e90092ac3 to your computer and use it in GitHub Desktop.
Save jschroed91/17a3a9ff7b2b5d1d2b66a24e90092ac3 to your computer and use it in GitHub Desktop.
html line length
<!-- ... -->
<div class="dropdown">
<button
type="button"
class="btn btn-secondary dropdown-toggle"
id="dropdownDemoButton"
data-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false"
>
Load Custom Demo
</button>
<div class="dropdown-menu" aria-labelledby="dropdownDemoButton">
<a
class="dropdown-item"
href="#"
ng-repeat="demoItem in $ctrl.demos"
ng-class="{active: demoItem == $ctrl.currentDemo}"
ng-click="$ctrl.diffDemo($index)"
>
{{ demoItem.name }}
</a>
</div>
</div>
<!-- ... -->
<!-- ... -->
<div class="dropdown">
<button type="button" class="btn btn-secondary dropdown-toggle" id="dropdownDemoButton2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Load Custom Demo
</button>
<div class="dropdown-menu" aria-labelledby="dropdownDemoButton">
<a class="dropdown-item" ng-repeat="demoItem in $ctrl.demos" ng-class="{active: demoItem == $ctrl.currentDemo}" ng-click="$ctrl.diffDemo($index)" href="#">
{{ demoItem.name }}
</a>
</div>
</div>
<!-- ... -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment