Created
January 5, 2021 05:10
-
-
Save thisiszoaib/4b62ee237ed8909dc4f4e00b43982716 to your computer and use it in GitHub Desktop.
Chips 6
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
onChange!: (value: string[]) => void; | |
registerOnChange(fn: any): void { | |
this.onChange = fn; | |
} | |
propagateChange(value: string[]) { | |
if (this.onChange) { | |
this.onChange(value); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment