scttcper / ngx-color

🎨 Color Pickers from Sketch, Photoshop, Chrome, Github, Twitter & more
https://ngx-color.vercel.app
MIT License
436 stars 55 forks source link

feat: provide the color component instance as ColorWrap token #348

Closed mmuenker closed 3 years ago

mmuenker commented 3 years ago

Allows injecting the color component instance with a common injection token. For instance, a directive that should work with any color component and should have access to the current color component instance. With the common injection token, the directive can inject any color component instance with one injection statement.

scttcper commented 3 years ago

@mmuenker whoops didn't mean to close this. Would you mind resolving conflicts and reopening