Home Cooker Classes Others Rice CookerGX
Classes  >  style
style class

Description

It is interface for controlling style rules of DOM element.

Notes

It is a class that is statically included in the Cooker.

fitter

SignatureDescription
style()

Get a new instance of style class.

getter

SignatureDescription
CssText

Gets the text which represents the style rule that is set at the runtime.

Fitted

Gets the value that indicates whether this instance was already initialized.

TypeName

Gets the type name.

setter

SignatureDescription
CssText(string)

Sets the text which represents the style rule.

method

SignatureDescription
Clear()

Clears the style rule that is set at the runtime.

GetCurrentAttribute(string)

Gets the value of the specified attribute name that have been applied to the element.

GetRuntimeAttribute(string)

Gets the value of the specified attribute name that have been applied to the element.

RemoveRuntimeAttribute(string)

Removes the specified attribute.

SetRuntimeAttribute(string,string)

Sets the value of the specified attribute.

Copyright © Rice All rights reserved.