Skip to content
This repository has been archived by the owner on Jul 30, 2018. It is now read-only.

Commit

Permalink
use external API for setting properties and children (#710)
Browse files Browse the repository at this point in the history
  • Loading branch information
agubler authored Oct 6, 2017
1 parent 4276ae2 commit 2fb7c60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/customElements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ export function initializeElement(element: CustomElement) {
const projector = ProjectorMixin(element.getWidgetConstructor());

const widgetInstance = new projector();
widgetInstance.__setProperties__(initialProperties);
widgetInstance.__setChildren__(children);
widgetInstance.setProperties(initialProperties);
widgetInstance.setChildren(children);
element.setWidgetInstance(widgetInstance);

return function() {
Expand Down

0 comments on commit 2fb7c60

Please sign in to comment.