我想用Polymer Paper-Slider创建一个系列.用户可以移动Min和Max Pin的范围,它有两个输出,而不仅仅是一个.例如,我可以用来过滤电子商务网站上的选择的最低和最高价格.
希望有人能提供帮助.
谢谢
我正在尝试使用聚合物组件,但它没有显示.元素就在那里.我可以在检查器中看到它,但它只是不显示.也没有错误消息没有帮助.我试图在聚合物文档中重新创建demo.html,并且没有显示任何内容.goole-chart元素有问题吗?
<dom-module id="stats-page">
<style>
code {
color: #007000;
}
google-chart {
height: 300px;
width: 400px;
}
#selection-demo {
position: relative;
height: 300px;
}
#selection-chart {
float: left;
}
#selection-display {
display: inline-block;
position: relative;
top: 50%;
}
</style>
<template>
<!-- local DOM for your element -->
<section>
<h1>Stastistics Page</h1>
<p>Here's a bar chart:</p>
<google-chart
type='bar'
options='{"title": "Days in a month"}'
cols='[{"label": "Month", "type": "string"},{"label": "Days", "type": "number"}]'
rows='[["Jan", 31],["Feb", 28],["Mar", 31],["Apr", 30],["May", 31],["Jun", 30]]'>
</google-chart>
<!-- Pie Chart of Clicks …Run Code Online (Sandbox Code Playgroud)