Giovanni Bertoncelli

Results 21 comments of Giovanni Bertoncelli

Right now is there a workaround for this without using direct DOM interpolation in order to being compatible with Angular Universal?

Yes but they are all workarounds...

Replace: function getGradientId(index) { return `gradient${index}`; } > this code in: > > import React, { PureComponent, } from 'react'; > import PropTypes from 'prop-types'; > import { PanResponder, View...

I've updated the svg as you guys say.. but it does not work anyway...

I've solved this problem by converting the package to an ES2015 UMD module with babel and the transform-es2015-modules-umd like this: `babel node_modules/ngx-drag-scroll/lib/ -d node_modules/ngx-drag-scroll/lib/ --presets @babel/preset-env --plugins transform-es2015-modules-umd`

Here you can find the documentation. https://babeljs.io/docs/en/ First install Babel then the required plugins. Finally you can run that command.

Yeah I would but you should add the babel script in your package process so it runs automatically each time you change something.. Where should I put that? In the...

Try importing the library directly from ngx-facebook/dist/umd

Sorry but the only workaround I've found was to use the embed chat code inside the index file...

You have to add the Facebook script Il mer 24 lug 2019, 16:11 craigcosmo ha scritto: > @HighSoftWare96 Thanks. > > I put the init code in the index.html >...