Skip to content

Latest commit

 

History

History
69 lines (39 loc) · 1.53 KB

components.rst

File metadata and controls

69 lines (39 loc) · 1.53 KB

Components

Breadcrumbs

<plone-breadcrumbs></plone-breadcrumbs>

Displays the breadcrumbs links for the current context.

Forms

Based on Angular2 Schema Form.

Global navigation

<plone-global-navigation></plone-global-navigation>

Displays the first level links.

Navigation

<plone-navigation root="/news" [depth]="2"></plone-navigation>

Display navigation links.

root can be either a string (to specify a static path like /news) or a null or negative number to specify an ancestor of the current page (0 means current folder).

depth defines the tree depth.

Note: be careful, in Angular templates, inputs are considered as string unless they are interpolated, so root="/events" returns the string "/events" and it works. It is equivalent to [root]="'/events'". But root="-1" is wrong, as it would return the string "-1" which is not a number. To get an actual number, interpolation is mandatory: [root]="-1".

Comments

<plone-comments></plone-comments>

Display the existing comments and allow to add new ones.

Workflow

<plone-workflow [showHistory]="true" [haveCommentInput]="true"></plone-workflow>

Display workflow history and actionable list of available transitions.

Toolbar

<plone-toolbar></plone-toolbar>

TO BE IMPLEMENTED