• Genel Bakış
@angular/core

Output

decorator

Decorator that marks a class field as an output property and supplies configuration metadata. The DOM property bound to the output property is automatically updated during change detection.

API

@Output(alias?: string);

Usage Notes

You can supply an optional name to use in templates when the component is instantiated, that maps to the name of the bound property. By default, the original name of the bound property is used for output binding.

See Input decorator for an example of providing a binding name.

Detaylara atla
b'da sorun ve öneri bildirin."> Sorun Bildirin
  • Google DevLibrary
  • Angular Google Geliştirici Uzmanları
  • Kaynaklar

    Topluluk çevirileri

    Google tarafından güçlendirilmiştir ©2010-2026. Kod, MIT tarzı Lisans altında lisanslanmıştır. Dokümantasyon CC BY 4.0 altında lisanslanmıştır. Angular v0.0.0 ile oluşturulmuştur.