add documentation for umbEmptyState

This commit is contained in:
Mads Rasmussen
2016-02-17 09:14:13 +01:00
committed by Rune Strand
parent 4f293a8be1
commit 3e458e2ba6

View File

@@ -1,3 +1,29 @@
/**
@ngdoc directive
@name umbraco.directives.directive:umbEmptyState
@restrict E
@scope
@description
Use this directive to show an empty state message.
<h3>Markup example</h3>
<pre>
<div ng-controller="My.Controller as vm">
<umb-empty-state
ng-if="!vm.items"
position="center">
// Empty state content
</umb-empty-state>
</div>
</pre>
@param {string=} size Set the size of the text ("small", "large").
@param {string=} position Set the position of the text ("center").
**/
(function() {
'use strict';