Skip to content

Commit

Permalink
Clarify child templates
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Aug 30, 2021
1 parent fad041e commit d76c313
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/user_guide/Custom_Components.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,13 @@
"select"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"The loop body can declare any number of HTML tags to add for each child object, e.g. to add labels or icons, however the child object (like the `${option}`) must always be wrapped by an HTML element (e.g. `<option>`) which must declare an `id`. Depending on your use case you can wrap each child in any HTML element you require, allowing complex nested components to be declared."
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down

0 comments on commit d76c313

Please sign in to comment.