Optimizations

In NextGenCSS we are adding many different optimizations to make your app faster than before ...

Syntax File

 // ./src/syntax/_syntax.scss
 
 ... other code
 //optimizations
    lazy-load : false, // true of false
... other code

Lazy Load

// Lazy Loading Optimization
// Define lazy load content visibility
.lazy-load {
  content-visibility: auto; // 'content-visibility' is not supported by Firefox, Firefox for Android.
}

// Define no lazy load content visibility
.no-lazy-load {
  content-visibility: visible; // 'content-visibility' is not supported by Firefox, Firefox for Android.
}

With .lazy-load class you can add lazy loading to your content

But if you don't want it then do not worry , just add .no-lazy-load class and remove this optimization ........

Last updated