Comments (5)
Hi @chrisdholt ,
Thanks for the quick response. I am using
@microsoft/fast-element": "1.12.0
currently Seems to be latest one. Published 9 months ago?
Yep - The directive is in that specific version though, it's only in the Beta as part of the v2 release. I am looking to propose promoting that to stable soon-ish. With that said, I'm not sure what it would take to backport that off the top of my head.
from fast.
Thanks @ontoneio - Which version are you on of Fast Element? I'll check FE1, but if I recall that was added for the latest beta (which won't reflect yet in the docs).
from fast.
Hi @chrisdholt ,
Thanks for the quick response. I am using @microsoft/fast-element": "1.12.0
currently
Seems to be latest one. Published 9 months ago?
from fast.
If it helps the InlineTemplateDirective
is being used in this function:
export function staticallyCompose<TSource = any, TParent = any>(
item: StaticallyComposableHTML<TSource, TParent>
): CaptureType<TSource, TParent> {
if (!item) {
return InlineTemplateDirective.empty;
}
if (typeof item === "string") {
return new InlineTemplateDirective(item);
}
if ("inline" in item) {
return item.inline();
}
return item;
}
I'm not exactly sure what this function accomplishes, but if I can replace it's functionality I think I will be alright.
So any insight on this function would be greatly helpful.
from fast.
Looks like this is solved in v2, I'll close this for now, let us know after launch of @microsoft/fast-element
v2 (coming very soon) if this is still an issue.
from fast.
Related Issues (20)
- Using @microsoft/fast-react-wrapper with refs & accessing public element members HOT 2
- rfc: add Declartive Bindings to fast-element
- fix: browser validation for inputs doesn't work in safari and firefox HOT 1
- feat: make repeat directive optionally accept a key HOT 1
- fix: bad example in fast-foundation/src/accordion/README.md HOT 1
- fix: textarea missing attributes HOT 1
- rfc: [Breaking] rename `template` host directive to `host` HOT 3
- RFC: Removal of `@microsoft/eslint-config-fast-dna`
- RFC: Removal of `@microsoft/fast-benchmarks`
- RFC: Removal of `@microsoft/fast-colors`
- RFC: Removal of `@microsoft/fast-foundation` HOT 14
- RFC: Removal of `@microsoft/fast-react-wrapper`
- RFC: Removal of `fast-tagged-templates` HOT 1
- Removal of `@microsoft/fast-web-utilities` HOT 2
- RFC: FAST Project Re-alignment HOT 10
- fix: Add title property in web-components/fast-foundation/src/button HOT 1
- feat: provide `html.partial` and `css.partial` as standalone tagged template literals
- Non-unique ids when rendering multiple TextField components HOT 1
- fix(fast-element-1): some template bindings not properly being marked as volatile
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fast.