com.raquo.laminar.defs.styles.traits.FontStyle.scala Maven / Gradle / Ivy
The newest version!
package com.raquo.laminar.defs.styles.traits
import com.raquo.laminar.keys.StyleProp
import com.raquo.laminar.modifiers.KeySetter.StyleSetter
// #NOTE: GENERATED CODE
// - This file is generated at compile time from the data in Scala DOM Types
// - See `project/DomDefsGenerator.scala` for code generation params
// - Contribute to https://github.com/raquo/scala-dom-types to add missing tags / attrs / props / etc.
trait FontStyle extends Normal { this: StyleProp[_] =>
/**
* Selects a font that is labeled italic, if that is not available,
* one labeled oblique
*/
lazy val italic: StyleSetter = this := "italic"
/** Selects a font that is labeled oblique */
lazy val oblique: StyleSetter = this := "oblique"
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy