Vladimir Golub

Results 12 issues of Vladimir Golub

I installed lozad by npm. I created plugin lozad.js. ``` import Vue from 'vue'; import lozad from 'lozad'; let observer = lozad('.lozad', { threshold: 0 }); Object.defineProperty(Vue.prototype, '$lozad', { value:...

``` const containerAnimation = this.$scrollmagic.scene({ triggerElement: this.$refs.screenSection, triggerHook: 0.5, duration: 300, offset: 850 }) .setTween(this.$refs.screenContainer.$el, { css: { 'max-width': '1600px' } }) .setTween(this.$refs.screenElement, { css: { border: '50px solid #474747',...

Without supertest: ``` it('success', () => { const req = { user: { name: 'Jack', type: 'admin' } }; const next = jest.fn(); authenticateAdmin(req, {}, next); expect(next).toBeCalled(); }); ``` With...

I created project - https://github.com/golubvladimir/nestjs-generate-pdf I want to create document with same header on all pages. I created header by element with id pageHeader. After I set height to 1px...

I have component ``` Загрузить резюме Upload ... methods: { uploadFiles() { this.$refs.resume.active = true; } } ``` I select two files, after click button. But I have two call...

I want to use Open Sans font only on some pages. How to set it in settings ?

I have svg file with symbols. In the final assembly, am I getting an empty tag? ``` ```

SSR doesn't work with async components. I get empty template between tags.

How to add class by option ? ``` ``` It is't working.

Without flag ```ssr: false``` in Nuxt. I have error: ``` Cannot use import statement outside a module ```