A button that disables itself until the promise is resolved. See the provided animations below.
Default values work with Bootstrap and Font Awesome, but you can adjust it to your needs.
Your template:
A button that disables itself until the promise is resolved. See the provided animations below.
Default values work with Bootstrap and Font Awesome, but you can adjust it to your needs.
Your template:
import {memoize, clearMemoizedValue} from "./memoize"; | |
describe("memoize", () => { | |
class MyClass { | |
@memoize(5) | |
getNumber() { | |
return Math.random(); | |
} | |
} |
<div loading-cover="coversIfThisIsTrue">
CONTENT
</div>
Example use:
angular.module('xxx').controller 'TreasureController', ($scope, treasureId, RevertibleAction, Restangular) ->
Restangular.one('treasure', treasureId).get().then (treasure) ->
$scope.treasure = treasure