src/smart-developer-tools/serverside-logging/serverside-logging.component.ts
AbstractFormChild
selector | serverside-logging |
styleUrls | ./serverside-logging.component.css |
templateUrl | ./serverside-logging.component.html |
Properties |
Methods |
constructor(smartConfig: SmartConfig, sessionManager: SmartSessionManagerService, injector: Injector)
|
||||||||||||
Parameters :
|
applySettings |
applySettings()
|
Returns :
void
|
handleLayoutChange | ||||||
handleLayoutChange(newLayout: literal type)
|
||||||
Parameters :
Returns :
void
|
toggleDebugMode |
toggleDebugMode()
|
Returns :
void
|
container |
Type : ElementRef<HTMLElement>
|
Decorators :
@ViewChild('container', {read: ElementRef})
|
customLogEntryTypes |
Type : string
|
Default value : ''
|
debugMode |
Default value : false
|
logEntryTypes |
Type : string
|
Default value : ''
|
sessionCtx |
Type : SessionContext
|
Public smartConfig |
Type : SmartConfig
|
<div class="container-fluid" #container>
<form class="k-form">
<label class="k-form-field">
<span>LOG-MANAGER:LOG-ENTRY-TYPES:</span>
<textarea style="height: 100px" class="k-textbox editor" name="inputLogEntryTypes" id="inputLogEntryTypes" [(ngModel)]="logEntryTypes" placeholder="LOG-ENTRY-TYPES"></textarea>
</label>
<label class="k-form-field">
<span>LogManager:CustomLogEntryTypes:</span>
<textarea style="height: 100px" class="k-textbox editor" name="inputCustomLogEntryTypes" id="inputCustomLogEntryTypes" [(ngModel)]="customLogEntryTypes" placeholder="CustomLogEntryTypes"></textarea>
</label>
<label class="k-form-field smart-checkbox margin" id="debug-mode">
<input type="checkbox" id="inputDebugMode" name="inputDebugMode" [checked]="debugMode" (click)="toggleDebugMode()">
<label class="k-checkbox-label" for="inputDebugMode">Debug-Mode</label>
</label>
<div class="text-right margin">
<button type="button" class="k-button" (click)="applySettings()">Apply</button>
</div>
</form>
</div>
./serverside-logging.component.css
.editor {
width: 100%;
font-weight: normal;
}
.margin {
padding-bottom: 5px;
}
#debug-mode label {
padding-left: 5px;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: -moz-none;
-o-user-select: none;
user-select: none;
}