ng-vdom icon indicating copy to clipboard operation
ng-vdom copied to clipboard

Feature: separate inputs mode for template rendering

Open trotyl opened this issue 6 years ago • 0 comments

Current

@Component({
  template: `
    <render-outlet [def]="myDef"></render-outlet>
  `
})
class MyComp {
  myDef = <div className="foo">Foo</div>
}

Expected

@Component({
  template: `
    <render-outlet [type]="myType" [props]="{ className: 'foo' }">
      Foo
    </render-outlet>
  `
})
class MyComp {
  myType = 'div'
}

trotyl avatar Jan 03 '19 13:01 trotyl