| 821 | * @publicApi |
| 822 | */ |
| 823 | export interface Input { |
| 824 | /** |
| 825 | * The name of the DOM property to which the input property is bound. |
| 826 | */ |
| 827 | alias?: string; |
| 828 | |
| 829 | /** |
| 830 | * Whether the input is required for the directive to function. |
| 831 | */ |
| 832 | required?: boolean; |
| 833 | |
| 834 | /** |
| 835 | * Function with which to transform the input value before assigning it to the directive instance. |
| 836 | */ |
| 837 | transform?: (value: any) => any; |
| 838 | |
| 839 | /** |
| 840 | * @internal |
| 841 | * |
| 842 | * Whether the input is a signal input. |
| 843 | * |
| 844 | * This option exists for JIT compatibility. Users are not expected to use this. |
| 845 | * Angular needs a way to capture inputs from classes so that the internal data |
| 846 | * structures can be set up. This needs to happen before the component is instantiated. |
| 847 | * Due to this, for JIT compilation, signal inputs need an additional decorator |
| 848 | * declaring the input. Angular provides a TS transformer to automatically handle this |
| 849 | * for JIT usage (e.g. in tests). |
| 850 | */ |
| 851 | isSignal?: boolean; |
| 852 | } |
| 853 | |
| 854 | /** |
| 855 | * @Annotation |
no outgoing calls
no test coverage detected
searching dependent graphs…