File

src/smart-developer-tools/serverside-logging/serverside-logging.component.ts

Extends

AbstractFormChild

Implements

OnInit AfterViewInit

Metadata

selector serverside-logging
styleUrls ./serverside-logging.component.css
templateUrl ./serverside-logging.component.html

Index

Properties
Methods

Constructor

constructor(smartConfig: SmartConfig, sessionManager: SmartSessionManagerService, injector: Injector)
Parameters :
Name Type Optional
smartConfig SmartConfig No
sessionManager SmartSessionManagerService No
injector Injector No

Methods

applySettings
applySettings()
Returns : void
handleLayoutChange
handleLayoutChange(newLayout: literal type)
Parameters :
Name Type Optional
newLayout literal type No
Returns : void
toggleDebugMode
toggleDebugMode()
Returns : void

Properties

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;
}
Legend
Html element
Component
Html element with directive

result-matching ""

    No results matching ""