Thanks, I did knew this method.... however I managed to solve the problem 
ussing setter/getter :

private  _cursorvalue:number;


@Output()
  cursorvalueChange: EventEmitter<number> = new EventEmitter<number>(); 
@Input()  set cursorvalue(v:number){
      if (v > this._cursorvalue) 
       {
       this._cursorvalue = v; 
       this.cursorvalueChange.emit(this._cursorvalue);
      }
  }
    get cursorvalue() {
        return this._cursorvalue;
    }




Le jeudi 3 août 2017 17:28:44 UTC+2, Stéphane Ancelot a écrit :
>
> Hi,
>
> I have a cusror slider component that must display only the max value he 
> got
>
> it is declared using databinding :
> <slider currentvalue="{{myval}} > </slider>
>  
>
> I don't know exactly where to implement the function that records the 
> maxvalue , since it should be done each time a new value is provided ... ?
>
> Regards,
> S.Ancelot
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to