i under impression slot
superseded replaceable
, i've been told replaceable
reintroduced in 1.0 release, true?
replaceable
still exists due use-case isn't covered slots in shadow dom v1 spec:
the new shadow dom v1 spec has support slot "fallback content". result, our
replaceable
attribute no longer needed , has been removed in favor of slot fallbacks. however, slots not solve problem of replacing template usedrepeat
,if
or other template controller. so, still support placingpart
attribute on template controller's element , overriding usingreplace-part
in element's content.http://blog.durandal.io/2016/06/08/getting-prepared-for-aurelia-1-0-0-rc/
Comments
Post a Comment