how to send a data to another page(without using local-storage) by an onclick function using polymer 1.0?
The code is given below.
I want to send a data named 'categoryid' taken from this page to another page named 'category.html' shown below submenu-list.html.I want to access the data 'categoryid' to the page category.html.
Kindly provide a clear solution by editing the code.
/* Page name - submenu-list.html */
<link rel="import" href="../../bower_components/polymer/polymer.html">
<dom-module id="submenu-list">
<template>
<paper-menu>
<paper-item><a href="/home/catalogue" onclick="response">My Menu Items</a></paper-item>
</paper-menu>
</template>
<script>
Polymer({
is:'submenu-list',
properties: {
categoryid: {
type: Number,
value:''
}
},
response: function() {
}
})
</script>
</dom-module>
/* Page name - category.html */
<link rel="import" href="../../bower_components/polymer/polymer.html">
<dom-module id="category">
<template>
</template>
<script>
Polymer({
is:'category',
})
</script>
</dom-module>