Class PdfViewerFeatureFlagProvider

java.lang.Object
com.vaadin.flow.component.pdfviewer.PdfViewerFeatureFlagProvider
All Implemented Interfaces:
FeatureFlagProvider, Serializable

public class PdfViewerFeatureFlagProvider extends Object implements FeatureFlagProvider
Provides the PDF Viewer component feature flag, gating the experimental PdfViewer component.
Since:
25.4
Author:
Vaadin Ltd
See Also:
  • Field Details

    • FEATURE_FLAG_ID

      public static final String FEATURE_FLAG_ID
      The id of the PDF Viewer component feature flag.
      See Also:
    • PDF_VIEWER_COMPONENT

      public static final Feature PDF_VIEWER_COMPONENT
      The PDF Viewer component feature flag. When enabled, allows use of the experimental PdfViewer component.
  • Constructor Details

    • PdfViewerFeatureFlagProvider

      public PdfViewerFeatureFlagProvider()
  • Method Details

    • getFeatures

      public List<Feature> getFeatures()
      Description copied from interface: FeatureFlagProvider
      Returns the list of features provided by this module.

      The returned list should be immutable and not change during the lifetime of the application.

      Specified by:
      getFeatures in interface FeatureFlagProvider
      Returns:
      list of features, never null