all files / app/main/components/material-docs/demo-partials/fabSpeedDial/demoBasicUsage/ script.js

22.22% Statements 2/9
100% Branches 0/0
50% Functions 1/2
22.22% Lines 2/9
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18                                
(function() {
  'use strict';
 
  angular.module('fabSpeedDialDemoBasicUsage', ['ngMaterial'])
    .controller('DemoCtrl', function() {
      this.topDirections = ['left', 'up'];
      this.bottomDirections = ['down', 'right'];
 
      this.isOpen = false;
 
      this.availableModes = ['md-fling', 'md-scale'];
      this.selectedMode = 'md-fling';
 
      this.availableDirections = ['up', 'down', 'left', 'right'];
      this.selectedDirection = 'up';
    });
})();