Sha256: 096dbe0d5e0b05a677371738b07aaff4611801d193954c47feb6f24d54654c81
Contents?: true
Size: 801 Bytes
Versions: 236
Compression:
Stored size: 801 Bytes
Contents
/** * @ngdoc directive * @name Bastion.components.directive:bstSaveControl * * @description * Simple directive for encapsulating create and cancel buttons. This includes states * for disabling buttons and setting a visual working state. * * @example * <pre> * <div bst-save-control * on-cancel="closeItem()" * on-save="save(product)" * invalid="productForm.$invalid"> * </div> */ angular.module('Bastion.components').directive('bstSaveControl', function () { return { restrict: 'AE', replace: true, templateUrl: 'components/views/bst-save-control.html', scope: { handleSave: '&onSave', handleCancel: '&onCancel', invalid: '=', working: '=' } }; });
Version data entries
236 entries across 236 versions & 2 rubygems