Wallet/src/js/directives/shapeshiftCoinShiftButton.js
2017-12-08 18:02:30 +09:00

17 lines
527 B
JavaScript

'use strict';
angular.module('copayApp.directives').directive('shapeshiftCoinShiftButton', function(shapeshiftApiService) {
return {
require:['^shapeshiftCoinTrader'],
restrict: 'E',
transclude: true,
scope: {
ShiftState : '=shiftState',
shiftIt : '=shiftIt'
},
link: function(scope, element, attrs, controllers) {
console.log(scope.ShiftState)
},
templateUrl: 'views/includes/shapeshift-coin-shift-button.html'
}
});