簡體   English   中英

WOW.js不支持Chrome 68.0.3440.106

[英]WOW.js does not support for chrome 68.0.3440.106

我在項目中使用了wow.js和animate.css。 我添加了哇屬性,例如“ data-wow-delay =“ 2s”。 但是,它可以在IE中使用,但不能在Chrome 68.0.3440.106中使用。 實際上,動畫部分可以工作,但不會發生哇延遲。 這是WOW中的錯誤嗎? 是否存在適用於大多數瀏覽器的類似Javascript庫?

我的App.js如下。

 import React, { Component } from 'react'; import 'bootstrap/dist/css/bootstrap.min.css'; import WOW from 'wowjs/dist/wow.js'; import './Animate.css'; import './App.css'; import { Route, withRouter, Switch } from 'react-router-dom'; class App extends Component { componentDidMount(){ new WOW.WOW().init(); } return ( <Layout className="app-container"> <AppHeader isAuthenticated={this.state.isAuthenticated} currentUser={this.state.currentUser} onLogout={this.handleLogout} /> <Content className="app-content"> <div className="middle-content"> <div className="description col-3 wow bounceIn animated" data-wow-duration="2s" data-wow-delay="1s"><h1>WE OFFER 100%</h1><h3>MONEY BACK GUARANTEE</h3> <p>on all our quality products with hassle - free returns. We believe you will be completely satisfied with your purchase.</p> </div> <div className="app-content-img fadeInRight animated"> <img src={require("./3.png")} /> </div> </div> 

它僅在IE中有效。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM