ColorPicker
A helper component that offers the ability to manage a color and keep a history of selected colors, for use with an InspectorComponent.
Usage
If you haven't yet read the docs for InspectorComponent we'd recommend it.
This component is used in the template for an inspector. You need to pass in the name of the property to manage.
note
If you're using standalone components you'll need to include the VisuallyJsModule in your component's imports, as shown here, in order to bring the color picker component into scope.
import {Component} from "@angular/core"
import { VisuallyJsModule, InspectorComponent } from "@visuallyjs/browser-ui-angular"
@Component({
imports:[VisuallyJsModule],
template:`<div>
<vjs-color propertyName="backgroundColor"/>
</div>`,
selector:"app-my-inspector"
})
export class MyInspector extends InspectorComponent {}