projects/m2-core/src/lib/shared/ui-components/image/image-selector.component.ts
| selector | image-selector |
| styles |
.image-value {
margin: 0;
box-shadow: 0 0 10px;
color: rgba(0,0,0,0.45); /* box-shadow with unspecified color defaults to standard color property */
}
.image-value.focused {
color: rgba(210, 71, 29, 0.8);
}
.img-tools {
left: 105%;
right: auto;
}
.image-container:hover .img-tools {
display: block;
}
|
| template | |
Properties |
Methods |
Inputs |
Accessors |
constructor(imageService: ImageService, globalModalsService: GlobalModalsService)
|
|||||||||
|
Parameters :
|
| editImageFn |
Type : function
|
| imgSrc |
Type : string
|
| onImageClick | ||||||
onImageClick(event: MouseEvent)
|
||||||
|
Parameters :
Returns :
void
|
| onImagePasted | ||||||
onImagePasted(clipboardData: DataTransfer)
|
||||||
|
Parameters :
Returns :
void
|
| onSelectImageClick | ||||||
onSelectImageClick(event: MouseEvent)
|
||||||
|
Parameters :
Returns :
void
|
| isImagePasteFocused |
Type : boolean
|
| isImageSet |
getisImageSet()
|
| src |
getsrc()
|