About 7,240 results
Open links in new tab
  1. Sharing data between child and parent directives and components

    Sep 1, 2023 · A common pattern in Angular is sharing data between a parent component and one or more child components. Implement this pattern with the @Input () and @Output () decorators.

  2. Angular - Input

    By default, the original name of the bound property is used for input binding. The following example creates a component with two input properties, one of which is given a special binding name.

  3. Angular - Component interaction

    This cookbook contains recipes for common component communication scenarios in which two or more components share information.

  4. Angular - Signal inputs

    Signal inputs allow values to be bound from parent components. Those values are exposed using a Signal and can change during the lifecycle of your component.

  5. Angular - Dynamic component loader

    Apr 18, 2023 · The NgComponentOutlet directive can be used to instantiate components and insert them into the current view. This directive allows you to provide a component class that should be …

  6. Angular - NgComponentOutlet

    Instantiates a Component type and inserts its Host View into the current View. NgComponentOutlet provides a declarative approach for dynamic component creation.

  7. Component testing scenarios - Angular

    A component with inputs and outputs typically appears inside the view template of a host component. The host uses a property binding to set the input property and an event binding to listen to events …

  8. Lesson 5: Add an input parameter to the component - Angular

    Jul 11, 2023 · This tutorial lesson demonstrates how to create a component @Input () and use it to pass data to a component for customization.

  9. Angular - withComponentInputBinding

    Enables binding information from the Router state directly to the inputs of the component in Route configurations.

  10. Angular - Model inputs

    Use model inputs in components that exist to modify a value based on user interaction. Custom form controls, such as a date picker or combobox, should use model inputs for their primary value.