Specificity

data class Specificity(val ids: Int, val classes: Int, val types: Int) : Comparable<Specificity> (source)

the specificity of a selector: its ids, its classes, attributes and pseudo-classes, and its types

Constructors

Link copied to clipboard
constructor(ids: Int, classes: Int, types: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val ids: Int
Link copied to clipboard
val types: Int

Functions

Link copied to clipboard
open operator override fun compareTo(other: Specificity): Int
Link copied to clipboard
operator fun plus(other: Specificity): Specificity