src/lib/input-components/configuration-menu/configuration-menu.component.ts
Menu for configuration of the inbox, able to show and alter any flattened object data.
Example :<talenra-configuration-menu
[positionBottom]="'18'"
[positionRight]="'0'"
[title]="'Konfiguration'"
[data]="inboxConfiguration"
(dataChange)="configChange($event)">
</talenra-configuration-menu>| selector | talenra-configuration-menu |
| imports |
ClickOutsideDirective
TooltipDirective
IconComponent
KeyValuePipe
FormsModule
|
| styleUrls | ./configuration-menu.component.scss |
| templateUrl | ./configuration-menu.component.html |
Properties |
Methods |
|
Inputs |
Outputs |
| data |
Type : any
|
|
The data which is passed to the dialog |
| positionBottom |
Type : string
|
|
The position of the dialog for the bottom value |
| positionLeft |
Type : string
|
|
The position of the dialog for the left value |
| positionRight |
Type : string
|
|
The position of the dialog for the right value |
| positionTop |
Type : string
|
|
The position of the dialog for the top value |
| title |
Type : string
|
|
The title of the dialog |
| dataChange |
Type : EventEmitter
|
|
The data which is passed from the dialog |
| changeValue |
changeValue(event: Event, key: any)
|
|
Changes the value of the data
Returns :
void
|
| clickOutside |
clickOutside()
|
|
Closes the dialog when clicking outside of it
Returns :
void
|
| Public closeDialog |
closeDialog()
|
|
Closes the dialog
Returns :
void
|
| Public openDialog | ||||||
openDialog(event: Event)
|
||||||
|
Opens the dialog
Parameters :
Returns :
void
|
| saveConfigurations |
saveConfigurations()
|
|
Saves the configurations
Returns :
void
|
| typeof | ||||||
typeof(value: unknown)
|
||||||
|
Returns the type of the value
Parameters :
Returns :
string
|
| open |
Type : unknown
|
Default value : false
|
|
The boolean which controls the opening and closing of the dialog |