typograph-editor-documentation
    Preparing search index...

    Class Colorswatch

    Index

    Constructors

    • Parameters

      • type: string
      • id: string
      • color: string
      • border: boolean = false

      Returns Colorswatch

    Properties

    _click: any = ...
    border: boolean = false
    call: callbackwithColorswatch
    color: string
    element: HTMLDivElement
    enabled: boolean = true
    id: string
    type: string
    well: HTMLDivElement

    Methods

    • Parameters

      • call: callbackwithColorswatch

      Returns void

    • Parameters

      • c: string
      • alpha: number = 0.5

      Returns void

    • Parameters

      • width: number
      • heigth: number

      Returns void