CssROptions

interface CssROptions

CSS configuration options using com.hendraanggrian.generating.GenerateRTask.css. Classes and IDs will be generated into fields.

Properties

Link copied to clipboard
abstract var charset: Charset

Charset to be used in case neither a charset rule nor a BOM is present. Default is StandardCharsets.UTF_8.

Link copied to clipboard
abstract var cssVersion: ECSSVersion

Version to use when parsing CSS file. Default is ECSSVersion.CSS30.

Link copied to clipboard

Determine whether adapter should write class selector. Default is true.

Link copied to clipboard

Determine whether adapter should write element type selector. Default is false.

Link copied to clipboard
abstract var writeIdSelector: Boolean

Determine whether adapter should write ID selector. Default is true.