Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Signals can be used as inputs using the classic Input decorator until they are passed out of the developer preview. down arrow 

Wiki Markupcode
@Component(...)
class Component {
    @Input({ alias: 'example' }) 
    set value(value: unknown) { 
        this.demo.set(value); 
    }
    demo = signal<unknown | undefined>(undefined);
}

...