Description

Generates a form you can use to create a topic.

Usage

as element:
<collaborate:topic-form
       [name="{string}"]
       [button-label="{string}"]
       [namespace="{string}"]
       [placeholder="{string}"]
       [show-description="{boolean}"]
       [description-placeholder="{string}"]>
</collaborate:topic-form>

Directive info

This directive creates new scope.

Parameters

ParamTypeDetails
name (optional)stringDefault title for a topic.
button-label (optional)stringLabel of form submit button. (default: Save)
namespace (optional)stringDetermines whether the topics created using the form will be “local” (restricted to the user) or “global”. (default: local)
placeholder (optional)stringPlaceholder value to put in the topic name text box. (default: Type a name for the new topic…)
show-description (optional)stringWhether to include a text box for adding a description for the topic.
description-placeholder (optional)stringPlaceholder value to put in the description text box (default: Description)