Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-github committed Sep 30, 2019
1 parent 344f397 commit 50bfce2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Type: `HTMLElement`

### dcFactory.getChildComponents(element, componentClass)

Returns ` DcBaseComponent`.
Returns `DcBaseComponent[]`

Returns all components of componentClass which are contained within the passed element

Expand All @@ -103,6 +103,8 @@ Type: `typeof DcBaseComponent`

### dcFactory.getChildComponent(element, componentClass)

Returns `DcBaseComponent`

Returns first found component of componentClass which is contained within the passed element

#### element
Expand All @@ -117,6 +119,8 @@ Type: `typeof DcBaseComponent`

### dcFactory.debug(element)

Returns `DcBaseComponent[]`

NOTE: just for debugging purpose!
Returns all components instances which were created on the given element.

Expand Down

0 comments on commit 50bfce2

Please sign in to comment.