siemens
v1.0.0
Published
1.development scripts:npm run dev 2.dist scripts:npm run prod animation callback function testAnim(x) { $('#animationSandbox').removeClass().addClass(x + ' animated').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animatione
Downloads
14
Readme
1.development scripts:npm run dev 2.dist scripts:npm run prod animation callback function testAnim(x) { $('#animationSandbox').removeClass().addClass(x + ' animated').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function(){ $(this).removeClass(); }); };
$(document).ready(function(){ $('.js--triggerAnimation').click(function(e){ e.preventDefault(); var anim = $('.js--animations').val(); testAnim(anim); });
$('.js--animations').change(function(){
var anim = $(this).val();
testAnim(anim);
});
});
"Module build failed: Error: /react-template/node_modules/eslint-config-airbnb/rules/react-a11y.js: ESLint configuration is invalid: - Unexpected top-level property "ecmaFeatures"."
You have to edit react-a11y.js and react.js located in ./node_modules/.bin/eslint-config-airbnb/rules/ In react-a11y.js remove:
ecmaFeatures: { jsx: true }, and replace it with:
parserOptions: { ecmaFeatures: { jsx: true, }, }, In react.js just remove:
ecmaFeatures: { jsx: true },
#https://at.alicdn.com/t/