akc42 / akc-meta Goto Github PK
View Code? Open in Web Editor NEWA Polymer element to share info across the dom-tree declaratively. Its like iron-meta, but exploring a different way
License: MIT License
A Polymer element to share info across the dom-tree declaratively. Its like iron-meta, but exploring a different way
License: MIT License
Hi,
I am playing further with your component which helped me get things done for my first need, e.g. propagating the auth state through my app.
Now, I am trying to use it as a 2 way data-binding shortcut to avoid more boilerplate. My current use-case is that I would like to be able to modify the source value through the query. More specifically, I have a firebase-document that I bind to akc-meta, and I would like to be able to modify it on the other end through the akc-meta-query.
Do you think this is something that could be easily done?
If you want my real life example check out there: and go to the demo
https://metanov.github.io/firebase-element-extended/components/firebase-element-extended/
Thanks!
Pascal
The clone function in akc-meta.html
has this line:
objectClone = new Constructor();
So this script assumes, that the object's constructor has no arguments.
Please consider this snippet:
function X(name) {
this.name = name;
}
document.querySelector('akc-meta').value = new X(y);
Can we install this through bower? I tried bower install akc-meta and cannot not find it.
Thanks in advance
Thx! :)
Hi,
nice job, it works indeed perfectly and now I understand why you did it!
(we quickly exchange on SO)
So can you gently release a version so that we can reference it via bower?
Thanks one more!
Pascal
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.