packages/eui-ecl/packages/core/src/lib/components/ecl-gallery/ecl-gallery-item.component.ts
| selector | ecl-gallery-item |
| styles |
.ecl-gallery__description {
width: 100%;
}
|
| templateUrl | ./ecl-gallery-item.component.html |
Properties |
|
Methods |
Inputs |
Outputs |
HostBindings |
HostListeners |
Accessors |
constructor(domSanitizer: DomSanitizer, el: ElementRef)
|
|||||||||
|
Parameters :
|
| description |
Type : string
|
| icon |
Type : string
|
| label |
Type : string
|
| mediaType |
Type : "image" | "video" | "externalVideo"
|
Default value : 'image'
|
| meta |
Type : string
|
| src |
Type : string
|
| class |
Type : string
|
| e2eAttr |
Type : any
|
| itemClick |
Type : EventEmitter
|
| attr.role |
Type : string
|
Default value : 'listitem'
|
| class |
Type : any
|
| click |
Arguments : '$event'
|
click(evt: MouseEvent)
|
| getDownloadLink |
getDownloadLink()
|
|
Returns :
string
|
| getUrlExternalVideo |
getUrlExternalVideo()
|
|
Returns :
any
|
| onItemClick | ||||||
onItemClick(evt: MouseEvent)
|
||||||
Decorators :
@HostListener('click', ['$event'])
|
||||||
|
Parameters :
Returns :
void
|
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| Public el |
Type : ElementRef
|
| mediaChild |
Type : EclGalleryMediaDirective
|
Decorators :
@ContentChild(EclGalleryMediaDirective)
|
| role |
Type : string
|
Default value : 'listitem'
|
Decorators :
@HostBinding('attr.role')
|
| cssClasses |
getcssClasses()
|
| isImage |
getisImage()
|
| isVideo |
getisVideo()
|
| isExternalVideo |
getisExternalVideo()
|
| isDownloadable |
getisDownloadable()
|
| isShareable |
getisShareable()
|