Git Product home page Git Product logo

Comments (5)

think2011 avatar think2011 commented on August 17, 2024

angularjs not working in IE8

from angular-slick.

renatn avatar renatn commented on August 17, 2024

https://docs.angularjs.org/guide/ie

AngularJS 1.2 will continue to support IE8

from angular-slick.

think2011 avatar think2011 commented on August 17, 2024

@renatn you are right。 :)

from angular-slick.

 avatar commented on August 17, 2024

Has anyone got any thoughts as to why it is not working in IE8? I'm trying to use this angular library and need to support IE8 in my project, but cannot see what could be causing the issue.

from angular-slick.

alabels9 avatar alabels9 commented on August 17, 2024

I don't know if this will help, but in my project we are using an html5shiv (https://github.com/aFarkas/html5shiv), and there is a method called addElements. So in a new js file we have the method:

(function () {
window.html5.addElements('slick');
}());

IE8 does not understand custom tags, and is not a standard HTML5 tag, so we have to 'add' this tag to the library so IE8 figures out how to render it. I ran into this a few times by creating custom directives and custom tags, and until I added them they would not work in IE8.

Hope this helps.

from angular-slick.

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.