Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

could not change property and url #72

Open
1 of 8 tasks
hzmsrv opened this issue Mar 23, 2017 · 2 comments
Open
1 of 8 tasks

could not change property and url #72

hzmsrv opened this issue Mar 23, 2017 · 2 comments

Comments

@hzmsrv
Copy link

hzmsrv commented Mar 23, 2017

Description

Expected outcome

Actual outcome

Live Demo

Steps to reproduce

Browsers Affected

  • Chrome
  • Firefox
  • Safari 9
  • Safari 8
  • Safari 7
  • Edge
  • IE 11
  • IE 10

<dom-module id="app-shell">
  <style>

  </style>
  <template>
    <iron-location path="{{path}}" query="{{query}}" hash="{{hash}}"> </iron-location>
<some query="{{query}}" > <some>
  </template>
</dom-module>

<script>
  Polymer({
    is: 'app-shell',
    properties: {
      query: {
        type: String,
        notify: true,
      },
      path: String,
    },

    ready: function () {
      this.query="fsdf=fasd";
      this.async(function () {
              this.set('query', "?");
      this.query = this.query + "aaa";
      this.set('path', this.path + '?' + 'aa');
      });
    },

  });

</script>
@hzmsrv
Copy link
Author

hzmsrv commented Mar 23, 2017

i found that is the elements problems. its status property all are in attached() . when its parent is ready it still not this._initialized = true and this._dontUpdateUrl = false;

@hzmsrv
Copy link
Author

hzmsrv commented Mar 23, 2017

and also it can not be changed inside the<some>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant