Coder Social home page Coder Social logo

Comments (5)

0xR avatar 0xR commented on September 7, 2024

Ps: I did run the babel transpilation, but that doesn't help much.

from ui-element-samples.

DanielVoogsgerd avatar DanielVoogsgerd commented on September 7, 2024

IE11 does not support ES6 classes, so without transpiliing you might have to move to edge anyway if you want native support.
The reason it doesn't work on IE9 with transpiling is (partially) because IE9 needs the ms prefix for transform.

I would be very cautious with moving these samples to production. The code is written with BEM in mind. BEM is awesome for prototyping, but might not be really what you might want in your production code.

I think that the motivation behind these elements is more to demonstrate techniques and features supported by the next generation web, than it is to craft production-ready "elements".
If you want those you might want to take a look at the polymer elements.

from ui-element-samples.

DanielVoogsgerd avatar DanielVoogsgerd commented on September 7, 2024

Also TouchEvents are not supported by edge.

from ui-element-samples.

paullewis avatar paullewis commented on September 7, 2024

Right exactly what @DanielVoogsgerd said. The code is here for reference because they are live-coded, but I will definitely add a note to the README so that it's setting expectations more clearly.

from ui-element-samples.

github-polymer-user avatar github-polymer-user commented on September 7, 2024

@DanielVoogsgerd @0xR @paullewis @dglazkov @sethladd

For anyone willing to debug on their own lovly OS X and Safari, just add some browser polyfills:

  1. npm install bower && bower install webcompnentsjs (instuctions from http://webcomponents.org/)
  2. add <script src=""/browser/webcomponents-lite.min.js"></script> to the header section of the header.partial.html file
  3. add app use section app.use('/browser',express.static('./app/../bower_components/webcomponentsjs'));
  4. add extra -moz-, -webkit-, -o-webkit- CSS animation and/or html5shim.js as needed

from ui-element-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.