predixdev / px-view Goto Github PK
View Code? Open in Web Editor NEWpx-view
License: Other
px-view
License: Other
On line 276, the comment should read 'px-view-status-changed' instead of 'view-status-changed'.
As a side note, how can users contribute to Predix components? I tried to push a new branch to create a pull request with the fix but received 403 Forbidden.
Line 209 in px-view.html is throwing reference error.
This is due to lodash library not being referenced properly on line 14.
I'd like to be able to detect from within my element which has been added to px-view status changes from shown
-> hidden
.
This would enable be to, for example, stop an iron-ajax request when the view is hidden.
I can't see how I can currently achieve this with the existing px-view.
We are using px-app-nav navigation bar in conjunction with px-view to load pages dynamically. First time the navigation works as expected, but on revisit, it simply showing and hiding (not reloading the page), causing sync issues with other apps operating on same db.
on line 239, modulesLoaded.some is called. However, on inspection, modulesLoaded is actually a NodeList and not an array, and does not have access to the .some function.
This can be resolved by doing Array.prototype.some.call(modulesLoaded, function(){})
Could I make a PR for this?
px-view shall not load import if the target element is already imported and registered, this happens when the component was bundled with vulcanizer.
Hello,
I have seen px-view being used in our project, I have been told it's part of the seed/example apps for the predix components, but I haven't found any documentation related to this.
This request is to ask for official documentation on how to use this component.
Also compared to the official polymer docs that talks about routing and views where you can bind variables between different views, I couldn't find a way to do this between px-views, the only possible solution is to share the data outside polymer (or using iron-meta) but this is an ugly hack.
Is there a way to share state between views when using px-view? Or is the idiomatic polymer way (as seen in the polymer docs, notably the shop app example) a better alternative (hence discarding px-view altogether)?
Thank you
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.