@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>; |