class method SGF.require
SGF.require(moduleName) → Object
-
moduleName
(String
) – The name of the internal SGF module that is attempted to be imported. Module names are case-insensitive.
All of SGF's classes are hidden by default, to avoid unnecessary
variable leakage into the global scope. In order to get access to one,
it must first be "imported" via SGF.require
.
var component = SGF.require("component");