Interface to work with stylesheets. Easily add new sharing tool to the Komodo command set and UI
Methods
-
require("ko/stylesheet").load(uri, window, type)
-
Load a stylesheet in the given window
Parameters:
Name Type Default Description uristring Stylesheet URI
windowWindow DOM Window
typestring user|agent|author -
require("ko/stylesheet").loadGlobal(uri, type)
-
Load the given stylesheet in all windows
Parameters:
Name Type Default Description uristring Stylesheet URI
typestring user|agent|author -
require("ko/stylesheet").unload(uri, window, type)
-
Unload a stylesheet in the given window
Parameters:
Name Type Default Description uristring Stylesheet URI
windowWindow DOM Window
typestring user|agent|author -
require("ko/stylesheet").unloadGlobal(uri, type)
-
Unload the given stylesheet in all windows
Parameters:
Name Type Default Description uristring Stylesheet URI
typestring user|agent|author