-
Notifications
You must be signed in to change notification settings - Fork 261
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Thomas Hunter
committed
Apr 15, 2021
1 parent
78c7b72
commit ee8e1b2
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
docs/content-services/directives/node-counter.directive.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | |