-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added error message for tempalte and model components. Added React su…
…pport.
- Loading branch information
Showing
5 changed files
with
51 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
<div ui-ace="vm.settings" ng-model="vm.model" flex></div> | ||
<div ng-if="!vm.renderError" ui-ace="vm.settings" ng-model="vm.model" flex></div> | ||
<div class="error__message" ng-if="vm.renderError" flex> | ||
Unable to load the model. Are you pass correct object? | ||
</div> |
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 +1,2 @@ | ||
<div ui-ace="vm.settings" ng-model="vm.component.template" flex></div> | ||
<div ng-if="!vm.renderError" ui-ace="vm.settings" ng-model="vm.component.template" flex></div> | ||
<div class="error__message" ng-if="vm.renderError" flex ng-bing="vm.errorMessage"></div> |
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 +1,9 @@ | ||
@import "./highlight.less"; | ||
@import "./highlight.less"; | ||
|
||
.error__message { | ||
font-size: 18px; | ||
justify-content: center; | ||
align-items: center; | ||
display: flex; | ||
color: rgba(0, 0, 0, 0.54); | ||
} |