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 #352

Closed mmuenker closed 3 years ago

mmuenker commented 3 years ago

Reopen:

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

:tada: This PR is included in version 7.2.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: