cdsRecordView

cdsRecordView

The cdsRecordView directive
Source:

Example

Usage:
   <cds-record-view
    template='TEMPLATE_PATH'>
   </cds-record-view>

Methods

Force apply the attributes to the scope
Source:
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 cdsRecordCtrl CERN Document Server record controller.

(static) templateUrl(element, attrs)

Choose template for search bar
Source:
Parameters:
Name Type Description
element service Element that this direcive is assigned to.
attrs service Attribute of this element.
Example
Minimal template `template.html` usage
   {{ record.title_statement.title }}