Home Reference Source Repository

src/features/FeatureId.js

  1. /**
  2. * An enumeration of feature ids.
  3. *
  4. * @type {Object}
  5. * @property {String} CANVAS - The identifier of the Canvas feature.
  6. * @property {String} FILE - The identifier of the File feature.
  7. * @property {String} TYPED_ARRAY - The identifier of the Typed Array feature.
  8. * @property {String} WEBGL - The identifier of the WebGL feature.
  9. * @property {String} WORKER - The identifier of the Web Worker feature.
  10. */
  11.  
  12. export const FeatureId = {
  13.  
  14. CANVAS: "feature.canvas",
  15. FILE: "feature.file",
  16. TYPED_ARRAY: "feature.typed-array",
  17. WEBGL: "feature.webgl",
  18. WORKER: "feature.worker"
  19.  
  20. };