projects/m2-core/src/lib/shared/ui-components/input/display-name.component.ts
| selector | [display-name] |
| styles |
input.display-name {
background: transparent;
border: none;
width: 90%;
text-overflow: ellipsis;
}
.inline-tools > .sdi-icon {
font-size: 1.15em;
opacity: .5;
}
.inline-tools > .sdi-icon:hover {
opacity: 1;
}
|
| template | |
Properties |
Methods |
Inputs |
Outputs |
constructor()
|
| editModeON |
Type : boolean
|
| entity |
Type : EntityLight
|
| showDeleteIcon |
Type : boolean
|
| deleteClick |
Type : EventEmitter
|
| onDeleteClick | ||||||
onDeleteClick(event: MouseEvent)
|
||||||
|
Parameters :
Returns :
void
|
| turnOffRenamingMode |
turnOffRenamingMode()
|
|
Returns :
void
|
| turnOnRenamingMode |
turnOnRenamingMode()
|
|
Returns :
void
|
| nameInputRef |
Type : ElementRef<HTMLInputElement>
|
Decorators :
@ViewChild('nameInput')
|
| namePlaceholder |
Type : string
|
| renamingMode |
Type : boolean
|