All files / atom/image/src settings.js

100% Statements 10/10
100% Branches 0/0
100% Functions 0/0
100% Lines 10/10

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 221x 1x 1x 1x 1x 1x 1x 1x         1x         1x        
export const BASE_CLASS = 'sui-AtomImage'
export const BASE_CLASS_FIGURE = `${BASE_CLASS}-figure`
export const CLASS_PLACEHOLDER = `${BASE_CLASS_FIGURE}--placeholder`
export const CLASS_SKELETON = `${BASE_CLASS_FIGURE}--skeleton`
export const CLASS_IMAGE = `${BASE_CLASS}-image`
export const CLASS_SPINNER = `${BASE_CLASS}-spinner`
export const CLASS_ERROR = `${BASE_CLASS}-error`
export const DECODING = {
  AUTO: 'auto',
  ASYNC: 'async',
  SYNC: 'sync'
}
export const FETCHPRIORITY = {
  AUTO: 'auto',
  HIGH: 'high',
  LOW: 'low'
}
export const LOADING = {
  EAGER: 'eager',
  LAZY: 'lazy'
}