typograph-editor-documentation
Preparing search index...
slidercontrol
Colorswatch
Class Colorswatch
Index
Constructors
constructor
Properties
_
click
border
call
color
element
enabled
id
type
well
Methods
click
get
Color
get
HTML
Elment
set
Background
set
Call
Back
set
Color
set
Enable
set
Size
Constructors
constructor
new
Colorswatch
(
type
:
string
,
id
:
string
,
color
:
string
,
border
?:
boolean
,
)
:
Colorswatch
Parameters
type
:
string
id
:
string
color
:
string
border
:
boolean
= false
Returns
Colorswatch
Properties
_
click
_click
:
any
= ...
border
border
:
boolean
= false
call
call
:
callbackwithColorswatch
color
color
:
string
element
element
:
HTMLDivElement
enabled
enabled
:
boolean
= true
id
id
:
string
type
type
:
string
well
well
:
HTMLDivElement
Methods
click
click
()
:
void
Returns
void
get
Color
getColor
()
:
string
Returns
string
get
HTML
Elment
getHTMLElment
()
:
HTMLDivElement
Returns
HTMLDivElement
set
Background
setBackground
(
css
:
string
)
:
void
Parameters
css
:
string
Returns
void
set
Call
Back
setCallBack
(
call
:
callbackwithColorswatch
)
:
void
Parameters
call
:
callbackwithColorswatch
Returns
void
set
Color
setColor
(
c
:
string
,
alpha
?:
number
)
:
void
Parameters
c
:
string
alpha
:
number
= 0.5
Returns
void
set
Enable
setEnable
(
b
:
boolean
)
:
void
Parameters
b
:
boolean
Returns
void
set
Size
setSize
(
width
:
number
,
heigth
:
number
)
:
void
Parameters
width
:
number
heigth
:
number
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_
click
border
call
color
element
enabled
id
type
well
Methods
click
get
Color
get
HTML
Elment
set
Background
set
Call
Back
set
Color
set
Enable
set
Size
typograph-editor-documentation
Loading...