ComponentInputBindingOptions
interface
stable
Configuration options for the component input binding feature which can be used
with withComponentInputBinding function or RouterModule.forRoot
queryParams
boolean | undefinedWhen true (default), will configure query parameters to bind to component inputs.
unmatchedInputBehavior
"alwaysUndefined" | "undefinedIfStale" | undefinedConfigures the behavior when an input is not matched by any key in the router data.
'alwaysUndefined': (Default) Bindsundefinedto the input. This ensures that stale data is not retained.'undefinedIfStale': Bindsundefinedonly if the input was previously available in the router data during the lifetime of the active route in this outlet. This avoids settingundefinedfor inputs that were never expected to be set by the router.
Jump to details