Class JavaScriptPackageHeaderItem

    • Constructor Detail

      • JavaScriptPackageHeaderItem

        public JavaScriptPackageHeaderItem​(Class<?> scope)
        Constructor
        Parameters:
        scope - the scope
      • JavaScriptPackageHeaderItem

        public JavaScriptPackageHeaderItem​(Class<?> scope,
                                           String function)
        Constructor
        Parameters:
        scope - the scope
        function - the function, i.e.: the name of the '.js' file without the extension
      • JavaScriptPackageHeaderItem

        public JavaScriptPackageHeaderItem​(Class<?> scope,
                                           Map<String,​Object> variables)
        Constructor
        Parameters:
        scope - the scope
        variables - the variable Map to supply to the file
      • JavaScriptPackageHeaderItem

        public JavaScriptPackageHeaderItem​(Class<?> scope,
                                           String function,
                                           Map<String,​Object> variables)
        Constructor
        Parameters:
        scope - the scope
        function - the function, i.e.: the name of the '.js' file without the extension
        variables - the variable Map to supply to the file