Methods
insertRule() |
---|
Error conditions:
Parameter Name | Type | Description |
---|---|---|
rule | String | The parsable text representing the rule. For rule sets this contains both the selector and the style declaration. For at-rules, this specifies both the at-identifier and the rule content. |
index | Number | The index within the style sheet's rule list of the rule before which to insert the specified rule. If the specified index is equal to the length of the style sheet's rule collection, the rule will be added to the end of the style sheet. |
Returns | Type | Description |
---|---|---|
Number | The index within the style sheet's rule collection of the newly inserted rule. |
LzCSSStyleSheet() |
---|
Parameter Name | Type | Description |
---|---|---|
title | String | Title |
href | String | Location of the style sheet. |
media | String | Media where the document is to be rendered. |
sstype | String | Language of the style sheet resource. |
ownerRule | String | |
cssRules | Array | Initial stylesheet rules array |
Events
Copyright © 2002-2010 Laszlo Systems, Inc. All Rights Reserved. Unauthorized use, duplication or distribution is strictly prohibited. This is the proprietary information of Laszlo Systems, Inc. Use is subject to license terms.