Angular v17.3 introduces an improved API for declaring outputs. The new output API provides a simpler and safer way to declare outputs in directives, a consistent API aligned with signal inputs and queries, and more correct types for emitting values. The new API is available for developer preview and aims to reduce boilerplate code.

4m read timeFrom blog.angular.io
Post cover image
Table of contents
Meet Angular’s new output() APIThe new APIoutput() functionoutputFromObservable() functionWhy is output() a better fit for your application?Listening to outputs programmaticallyGive it a try

Sort: