docs: add html template for sizer component in template syntax guide (#33776)

fixes #33771

PR Close #33776
This commit is contained in:
Pierre-Yves FARE 2019-11-12 22:50:13 +00:00 committed by Alex Rickabaugh
parent 5fb7d3d3b0
commit 2e7a3e9ae6
1 changed files with 2 additions and 0 deletions

View File

@ -1105,6 +1105,8 @@ It has a `size` value property and a companion `sizeChange` event:
<code-example path="two-way-binding/src/app/sizer/sizer.component.ts" header="src/app/sizer.component.ts"></code-example>
<code-example path="two-way-binding/src/app/sizer/sizer.component.html" header="src/app/sizer.component.html"></code-example>
The initial `size` is an input value from a property binding.
Clicking the buttons increases or decreases the `size`, within
min/max value constraints,