Class WebshimResources


  • public class WebshimResources
    extends Object
    • Constructor Detail

      • WebshimResources

        public WebshimResources()
    • Method Detail

      • whenReady

        public static void whenReady​(elemental2.dom.EventListener function)
        async load of resources.
        Parameters:
        function - function to call on load
      • isInitialized

        public static boolean isInitialized()
        check if script is available and initialized.
        Returns:
        true if it exists
      • isInHeader

        public static boolean isInHeader()
        check if script is already in the header.
        Returns:
        true if it exists