Comments (6)
- Which version of Polymer 1 are you using? Is it
1.9.2
or above? - Are you using the newest Polymer-Cli for testing?
- Do you extend
<datetime-picker>
or are you using it in a template? - Do you test in a custom
demo
or in that one of<datetime-picker>
?
The exceptions you had are all related to polymer itself, a.s.o. are part of polymer itself. You could try at first, to update polymer-cli and see what happens. But I look into it!
from datetime-picker.
-
It is 1.9.2+. Actually 2.x.x
-
Yes I am using the latest Polymer-CLI
-
Using it in a template
-
Custom demo
If it is not too much of a trouble, Is it okay if I share with you the repo so that you may take a look?
from datetime-picker.
Shure, would be interesting
from datetime-picker.
Thank you mate!
from datetime-picker.
The server of polymer-cli
can not handle absolute import paths because it serves when developing a component as if all resources of the local bower_components
are above the rootDir, so that when installed to a project the fileSystem is coherent. Probably the code transpilation is then mixed up.
Instead of:
<link rel="import" href="../polymer/polymer-element.html">
<link rel="import" href="./bower_components/datetime-picker/overlay-date-picker.html">
<link rel="import" href="./bower_components/datetime-picker/overlay-time-picker.html">
<link rel="import" href="../iron-icons/iron-icons.html">
you need to import all dependencies relatively:
<link rel="import" href="../polymer/polymer-element.html">
<link rel="import" href="../datetime-picker/overlay-date-picker.html">
<link rel="import" href="../datetime-picker/overlay-time-picker.html">
<link rel="import" href="../iron-icons/iron-icons.html">
Then the demo is working. In polymer 3
the <link rel="import" href="...">
-system will supposed to be replaced. Tip: have a look at the style mixins and properties of <datetime-picker>
and <number-element>
to customize your element.
from datetime-picker.
That worked. Thank you @fooloomanzoo, much appreciated!
from datetime-picker.
Related Issues (20)
- DatetimePolyfillPickerMixin is not set on the window object like other mixins. HOT 1
- Polymer 3.0 support? HOT 6
- Feature request: hide reset button HOT 1
- Quitting editing, or resetting field to null HOT 1
- Feature request: fire event on value reset HOT 2
- Clamp values incorrect in the documentation HOT 1
- calendar-element When confirm, it autoSubmit form HOT 3
- Calandar element submit my form automatically HOT 1
- Change width of overlay-datetime-picker HOT 1
- npm installation fails HOT 2
- i've got a widget I need HOT 1
- Typing values manually HOT 6
- onchange event (from lit-element) HOT 7
- Style input to fit Twitter Bootstrap HOT 1
- Dead links in readme.md
- ES6 with Polymer 2 HOT 1
- input-picker-closed Not Triggering Function
- date-picker Stops Navigating
- Not able to use with-timezone , errors if the timezone is active
- Disable double click feature
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datetime-picker.