Non standard. Adds an @import rule to the style sheet.
Method of css/cssom/styleSheetcss/cssom/styleSheet
Syntaxvar index = stylesheet.addImport(/* see parameter list */);
Parameters url
The location of the source file for the style sheet.
index(Optional)
The requested position for the style sheet in the collection. If this value is not given, the style sheet is added to the end of the collection.
Return ValueReturns an object of type NumberNumber
A zero-based index value indicating the position of the imported style sheet in the imports collection.
See also Related articles CSSOMaddImport
IHTMLStyleSheet
Microsoft Developer Network: [Windows Internet Explorer API reference Article]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4