Skip to content

Commit

Permalink
Added documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Hunter committed Apr 15, 2021
1 parent 78c7b72 commit ee8e1b2
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions docs/content-services/directives/node-counter.directive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
Title: Node Counter directive
Added: v4.4.0
Status: Active
Last reviewed: 2021-04-15
---

# [Node Counter directive](../../../lib/content-services/src/lib/directives/node-counter.directive.ts "Defined in node-counter.directive.ts")

Appends a counter to an element.

## Basic Usage

```html
<adf-toolbar>
<adf-toolbar-title [adf-node-counter]="getSelectedCount()">
...
</adf-toolbar-title>
</adf-toolbar>
```

## Class members

### Properties

| Name | Type | Default value | Description |
| ---- | ---- | ------------- | ----------- |
| counter | `number` | | Number of nodes selected. |

0 comments on commit ee8e1b2

Please sign in to comment.