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

Attribute mapping should work for template decorators #1581

Closed
jbdeboer opened this issue Oct 28, 2014 · 1 comment
Closed

Attribute mapping should work for template decorators #1581

jbdeboer opened this issue Oct 28, 2014 · 1 comment
Labels
Milestone

Comments

@jbdeboer
Copy link
Contributor

e.g., I have a decorator:

@Decorator(
    children: Directive.TRANSCLUDE_CHILDREN,
    selector:'transcluded-foo',
    map: const {
      'is-present': '@isPresent'
    })
class FooDecorator {

  bool isPresent => some computation
}

However, since the decorator is transcluded, the attributes are never bound. There is no technical reason for this limitation.

@naomiblack naomiblack added this to the 1.1 milestone Dec 9, 2014
@naomiblack
Copy link
Contributor

@vsavkin can you take a look into this with @jbdeboer and assess effort to fix?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
3 participants