Sharing Top Content from the Angular-sphere.

@lithiumjs/angular – A set of extensions for Angular that enable wri… #npm #javascript #nodejs

  • proxies create reactive references to properties within the component class and allow them to be used like any other reference.
  • A proxy path is considered static only if all of the following conditions are met: – – In the above example, the proxy path is considered static, because the last property is a and the rest of the path does not contain any s or s.
  • The proxy type simply resolves the given property path and creates an observable that directly maps back to the property value.
  • Creates a state emitter, which is a that automatically emits when the underlying property value is modified, and automatically updates the property value when the emits.
  • – (Optional) Whether or not newly emitted values via dynamic proxy property paths should be merged with the previously emitted value.

A set of extensions for Angular that enable writing highly reactive components using RxJS.

A set of extensions for Angular that enable writing highly reactive components using RxJS.

The project can be installed via npm using the following command:

Bootstrapping is required on the target class to enable event sources and state emitters for each instance. This is done via the class decorator.

is the main decorator used for responding to events from a component. creates a proxy method for intercepting events (such as UI events or component lifecycle events) executed via callback, and translates them into observables.

Method decorators may be passed to and will be applied to the underlying facade method.

is the decorator used to automatically synchronize state of a component, allowing for reactive communication to and from the UI via subjects.

Property decorators may be passed to and will be applied to the underlying property.

Angular components will often use information from services and other sources. Proxied s can be used to represent extenal values from within a component, or even create aliases for existing values.

proxies create reactive references to properties within the component class and allow them to be used like any other reference. Dot path notation may be used to reference nested properties.

Proxy paths are considered either dynamic or static depending…

@lithiumjs/angular

Comments are closed, but trackbacks and pingbacks are open.