Skip to content

Commit

Permalink
chore: remove ecma private methods
Browse files Browse the repository at this point in the history
  • Loading branch information
sibiraj-s committed Feb 8, 2021
1 parent 6fd4a8b commit 41df4bf
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/lib/modules/menu/menu.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,11 @@ import Editor from '../../Editor';
providedIn: 'root'
})
export class MenuService {
#editor: Editor;
editor: Editor;
customMenuRefChange: Subject<TemplateRef<any>> = new Subject<TemplateRef<any>>();


constructor() { }

set editor(e: Editor) {
this.#editor = e;
}

get editor(): Editor {
return this.#editor;
}

setCustomMenuRef(c: TemplateRef<any>): void {
this.customMenuRefChange.next(c);
}
Expand Down

0 comments on commit 41df4bf

Please sign in to comment.