Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
145896 | Jul 12,2019 08:50 AM UTC | Jul 16,2019 06:15 AM UTC | Angular - EJ 2 | 5 |
![]() |
Tags: DocumentEditor |
@ViewChild('documenteditor_default', {static: true}) documenteditor_default: ElementRef<DocumentEditorContainerComponent>;
public container: DocumentEditorContainerComponent;
@ViewChild('default_title_bar', {static: true}) default_title_bar: ElementRef<HTMLElement>;
titleBar: TitleBar;
|
Hi Charnist,Thanks for contacting Syncfusion support.We have validated your reported issue.1. Change your variable initialization code snippet like below:
@ViewChild('documenteditor_default', {static: true}) documenteditor_default: ElementRef<DocumentEditorContainerComponent>;public container: DocumentEditorContainerComponent;@ViewChild('default_title_bar', {static: true}) default_title_bar: ElementRef<HTMLElement>;titleBar: TitleBar;
2. Then try run the samplePlease follow the above steps. If you still face the issue , please share the angular app created in your side to validate the issue further.Regards,Suriya M.
// tslint:disable-next-line:variable-name
@ViewChild('documenteditor_default', {static: true}) container: ElementRef<DocumentEditorContainerComponent>;
// tslint:disable-next-line: variable-name
@ViewChild('default_title_bar', {static: true}) titleBar: ElementRef<HTMLElement>; |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.