generated from maximegris/angular-electron
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix ngx monaco editor, add monaco config, control of events in router…
…, add file manager click, fix layout body class, fix monaco editor styles, new version,
- Loading branch information
Showing
21 changed files
with
629 additions
and
234 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
import { Component, OnInit } from "@angular/core"; | ||
import {Component, Inject, OnInit} from "@angular/core"; | ||
import {DOCUMENT} from "@angular/common"; | ||
|
||
@Component({ | ||
selector: "app-admin", | ||
templateUrl: "./admin.component.html", | ||
}) | ||
export class AdminComponent implements OnInit { | ||
constructor() {} | ||
constructor(@Inject(DOCUMENT) private document: Document) { | ||
} | ||
|
||
ngOnInit(): void {} | ||
ngOnInit(): void { | ||
this.document.body.className = "dx-viewport"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
import { Component, OnInit } from "@angular/core"; | ||
import {Component, Inject, OnInit} from "@angular/core"; | ||
import {DOCUMENT} from "@angular/common"; | ||
|
||
@Component({ | ||
selector: "app-auth", | ||
templateUrl: "./auth.component.html", | ||
}) | ||
export class AuthComponent implements OnInit { | ||
constructor() { | ||
constructor(@Inject(DOCUMENT) private document: Document) { | ||
} | ||
|
||
ngOnInit(): void { | ||
this.document.body.className = "dx-viewport"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<ngx-monaco-editor class="monaco-editor" | ||
[options]="editorOptions_thumder" | ||
[(ngModel)]="code_asm" | ||
(onInit)="onInitEditor($event)"></ngx-monaco-editor> | ||
(init)="onInitEditor($event)"></ngx-monaco-editor> |
Oops, something went wrong.