13.0.0 • Published 2 years ago

ngx-input-observable-decorator v13.0.0

Weekly downloads
26
License
MIT
Repository
github
Last release
2 years ago

ngx-input-observable-decorator

Build Status

Install

npm install ngx-input-observable-decorator

Usage

import { Input } from '@angular/core';
import { InputObservable } from 'ngx-input-observable-decorator';
import { Observable } from 'rxjs';

class AComponent {
    @Input()
    @InputObservable()
    textValue: string;
    textValue$: Observable<string>; // generated observable of textValue
}

Demo

Stackblitz

13.0.0

2 years ago

10.0.0

4 years ago

9.1.0

4 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago