Git Product home page Git Product logo

px-view's People

Contributors

ek avatar garryyao avatar gedesigntech avatar gstroup avatar manderson23 avatar mdwragg avatar runn-vermel avatar yashdoshi89 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

px-view's Issues

Comment incorrect for px-view-status-changed

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.

Expose px-view status to the child element

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.

Page reloading not happening from the second time

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.

Polymer 2 - modulesLoaded.some is not a function

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?

Work with vulcanizer

px-view shall not load import if the target element is already imported and registered, this happens when the component was bundled with vulcanizer.

Missing documentation - Binding variables between views

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.