Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

Commit

Permalink
fix: adjust add children name action (#1029)
Browse files Browse the repository at this point in the history
* refactor: remove deprecated from constructor

* fix: adjust name action backend

* adjust documentation
  • Loading branch information
uziasferreirazup authored Oct 13, 2020
1 parent 919f3b0 commit 5e229f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ enum class Mode {
}

/**
* The AddChildrenAction class is responsible for adding - at the beginning or in the end - or changing
* The AddChildren class is responsible for adding - at the beginning or in the end - or changing
* all views that inherit from Widget and who accept children.
*
* @param componentId Required. Defines the widget's id, in which you want to add the views.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ enum class Mode {
}

/**
* The AddChildrenAction class is responsible for adding - at the beginning or in the end - or changing
* The AddChildren class is responsible for adding - at the beginning or in the end - or changing
* all views that inherit from Widget and who accept children.
*
* @param componentId Required. Defines the widget's id, in which you want to add the views.
* @param value Required. Defines the list of children you want to add.
* @param mode Defines the placement of where the children will be inserted in the list or if the contents of
* the list will be replaced.
*/
data class AddChildrenAction(
data class AddChildren(
var componentId: String,
var value: List<ServerDrivenComponent>,
var mode: Mode? = Mode.APPEND
Expand Down

0 comments on commit 5e229f9

Please sign in to comment.