angular-material-npfixed
Version:
The Angular Material project is an implementation of Material Design in Angular.js. This project provides a set of reusable, well-tested, and accessible Material Design UI components. Angular Material is supported internally at Google by the Angular.js, M
19 lines (17 loc) • 847 B
HTML
<div ng-controller="BottomSheetExample" class="md-padding" ng-cloak>
<h2 class="md-title">Usage</h2>
<p>Bottom sheets can be displayed by clicking one of the buttons below. Once shown, it can be
dismissed by either swiping down or clicking in the shaded area.</p>
<h2 class="md-title">Actions</h2>
<p>Use one of the following buttons to display a bottom sheet.</p>
<div class="bottom-sheet-demo inset" layout="row" layout-sm="column" layout-align="center" >
<md-button flex="50" class="md-primary md-raised" ng-click="showListBottomSheet()">Show as List</md-button>
<md-button flex="50" class="md-primary md-raised" ng-click="showGridBottomSheet()">Show as Grid</md-button>
</div>
<div ng-if="alert">
<br/>
<b layout="row" layout-align="center center" class="md-padding">
{{alert}}
</b>
</div>
</div>