collaborate:topic-list

Description

The topic list directive to render a list of topic, you can put your own html inside the topic list to customise it, in order to do this you will need to do the following :-

<collaborate:topic-list>
     <li ng-repeat="topic in $parent.topics">YOUR CUSTOM CODE HERE</li>
</collaborate:topic-list>

Usage

as element:
<collaborate:topic-list
       [title="{string}"]
       [empty-text="{string}"]
       [delete-label="{string}"]
       [show="{number}"]>
</collaborate:topic-list>

Directive info

  • This directive creates new scope.

Parameters

Param Type Details
title
(optional)
string

If set, title will be used displayed above topics

empty-text
(optional)
string

If set, the text will be displayed if the list is empty

delete-label
(optional)
string

Label to display for the delete action. Default: “x”

show
(optional)
number

How many bookmarks should be displayed initially. Default: 10