Created
July 2, 2018 11:17
-
-
Save realtomaszkula/ef658e80f7853a02d7cf311072701088 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private _value: number; | |
get value(): number { | |
return this._value; | |
} | |
@Input() | |
set value(value: number) { | |
this._value = coerceNumberProperty(value, 0); | |
} | |
private _tick: number; | |
get tick(): number { | |
return this._tick; | |
} | |
@Input() | |
set tick(value: number) { | |
this._tick = coerceNumberProperty(value); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment