docs(ivy): fix component definition description of `inputs` (#27300)
PR Close #27300
This commit is contained in:
parent
d3c08e74f6
commit
6cf3c2b682
|
@ -101,7 +101,7 @@ export function defineComponent<T>(componentDefinition: {
|
|||
* ```
|
||||
* {
|
||||
* publicInput1: 'publicInput1',
|
||||
* declaredInput2: ['declaredInput2', 'publicInput2'],
|
||||
* declaredInput2: ['publicInput2', 'declaredInput2'],
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
|
@ -109,7 +109,7 @@ export function defineComponent<T>(componentDefinition: {
|
|||
* ```
|
||||
* {
|
||||
* minifiedPublicInput1: 'publicInput1',
|
||||
* minifiedDeclaredInput2: [ 'publicInput2', 'declaredInput2'],
|
||||
* minifiedDeclaredInput2: ['publicInput2', 'declaredInput2'],
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
|
@ -118,7 +118,7 @@ export function defineComponent<T>(componentDefinition: {
|
|||
*
|
||||
* NOTE:
|
||||
* - Because declared and public name are usually same we only generate the array
|
||||
* `['declared', 'public']` format when they differ.
|
||||
* `['public', 'declared']` format when they differ.
|
||||
* - The reason why this API and `outputs` API is not the same is that `NgOnChanges` has
|
||||
* inconsistent behavior in that it uses declared names rather than minified or public. For
|
||||
* this reason `NgOnChanges` will be deprecated and removed in future version and this
|
||||
|
|
Loading…
Reference in New Issue