UNPKG

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

26 lines (22 loc) 690 B
<md-dialog class="view-source-dialog"> <md-tabs> <md-tab ng-repeat="file in files" active="file === data.selectedFile" ng-click="data.selectedFile = file" > <span class="window_label">{{file.viewType}}</span> </md-tab> </md-tabs> <md-dialog-content md-scroll-y flex> <div ng-repeat="file in files"> <hljs code="file.content" lang="{{file.fileType}}" ng-show="file === data.selectedFile" > </hljs> </div> </md-dialog-content> <md-dialog-actions layout="horizontal"> <md-button class="md-primary" ng-click="$hideDialog()"> Done </md-button> </md-dialog-actions> </md-dialog>