Annotation Type PartialSupport


  • public @interface PartialSupport
    Annotation for classes that are only supported on a limited set of browsers.

    By convention, classes annotated with PartialSupport will provide two static methods:

    1. static boolean isSupported() that returns whether the feature is supported.
    2. static YourType createIfSupported() factory method that returns a new feature if supported, or null otherwise.