Namespace: invenioSearchLoading

invenioSearchLoading

The invenioSearchLoading directive
Source:

Example

Usage:
   <invenio-search-loading
    message='{{ _('Loading') }}'
    template='TEMPLATE_PATH'>
       ... Any children directives
   </invenio-search-loading>

Methods

Force apply the attributes to the scope
Parameters:
Name Type Description
scope service The scope of this element.
element service Element that this direcive is assigned to.
attrs service Attribute of this element.
vm invenioSearchController Invenio search controller.
Source:

(static) templateUrl(element, attrs)

Choose template for search loading
Parameters:
Name Type Description
element service Element that this direcive is assigned to.
attrs service Attribute of this element.
Source:
Example
Minimal template `template.html` usage
       <div ng-show='vm.invenioSearchLoading'>
         <i class='fa fa-loading'></i> {{ loadingMessage }}
       </div>