Mateusz Lewandowski
2017-01-08 20:55:24 UTC
Hi
like in topic.
I have problem with actions after click in paper buttons in my paper dialog.
I have the following.
<polymer-element name="advert-details">
<template>
<paper-dialog id="dialog" modal="true">
<div class="AdvertDetails">
<div id="ImageContent">
</div>
<div class="row">
<div class="label">Tytul:</div>
<div class="field" id="title">{{title}}</div>
</div>
<div class="row">
<div class="label">Tresc:</div>
<div class="field" id="content">{{content}}</div>
</div>
<div class="row">
<div class="label">Miasto:</div>
<div class="field" id="city">{{city}}</div>
</div>
</div>
<div class="buttons">
<paper-button dialog-dismiss>Cancel</paper-button>
<paper-button dialog-confirm autofocus>Accept</paper-button>
</div>
</paper-dialog>
</template>
</polymer-element>
Buttons has dispayed ok but after click on it there is no action like close dialog.
Additional question is should property modal set to true, makes main web site blocked and only actions on modal should be accessible?
If yes how i think, it does not work. In my case if property "modal" is set or not there is no difference.
I use following versions of polymer and paper elements
polymer: '^0.16.0'
paper_elements: '^0.6.2'
like in topic.
I have problem with actions after click in paper buttons in my paper dialog.
I have the following.
<polymer-element name="advert-details">
<template>
<paper-dialog id="dialog" modal="true">
<div class="AdvertDetails">
<div id="ImageContent">
</div>
<div class="row">
<div class="label">Tytul:</div>
<div class="field" id="title">{{title}}</div>
</div>
<div class="row">
<div class="label">Tresc:</div>
<div class="field" id="content">{{content}}</div>
</div>
<div class="row">
<div class="label">Miasto:</div>
<div class="field" id="city">{{city}}</div>
</div>
</div>
<div class="buttons">
<paper-button dialog-dismiss>Cancel</paper-button>
<paper-button dialog-confirm autofocus>Accept</paper-button>
</div>
</paper-dialog>
</template>
</polymer-element>
Buttons has dispayed ok but after click on it there is no action like close dialog.
Additional question is should property modal set to true, makes main web site blocked and only actions on modal should be accessible?
If yes how i think, it does not work. In my case if property "modal" is set or not there is no difference.
I use following versions of polymer and paper elements
polymer: '^0.16.0'
paper_elements: '^0.6.2'
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.