All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yandex.div.dsl.model.DivTooltip.kt Maven / Gradle / Ivy

Go to download

DivKit is an open source Server-Driven UI (SDUI) framework. SDUI is a an emerging technique that leverage the server to build the user interfaces of their mobile app.

There is a newer version: 30.19.0
Show newest version
// Generated code. Do not modify.

package com.yandex.div.dsl.model

import java.net.URI
import com.fasterxml.jackson.annotation.*
import com.yandex.div.dsl.*
import com.yandex.div.dsl.context.*
import com.yandex.div.dsl.type.*
import com.yandex.div.dsl.util.*

class DivTooltip internal constructor(
    @JsonIgnore val animationIn: Property?,
    @JsonIgnore val animationOut: Property?,
    @JsonIgnore val div: Property
?, @JsonIgnore val duration: Property?, @JsonIgnore val id: Property?, @JsonIgnore val offset: Property?, @JsonIgnore val position: Property?, ) { @JsonAnyGetter internal fun properties(): Map { return propertyMapOf( "animation_in" to animationIn, "animation_out" to animationOut, "div" to div, "duration" to duration, "id" to id, "offset" to offset, "position" to position, ) } enum class Position(@JsonValue val value: String) { LEFT("left"), TOP_LEFT("top-left"), TOP("top"), TOP_RIGHT("top-right"), RIGHT("right"), BOTTOM_RIGHT("bottom-right"), BOTTOM("bottom"), BOTTOM_LEFT("bottom-left"), } } fun TemplateContext.divTooltip(): LiteralProperty { return value(DivTooltip( animationIn = null, animationOut = null, div = null, duration = null, id = null, offset = null, position = null, )) } fun TemplateContext.divTooltip( div: Property
? = null, id: Property? = null, position: Property? = null, animationIn: Property? = null, animationOut: Property? = null, duration: Property? = null, offset: Property? = null, ): LiteralProperty { return value(DivTooltip( animationIn = animationIn, animationOut = animationOut, div = div, duration = duration, id = id, offset = offset, position = position, )) } fun TemplateContext.divTooltip( div: Div? = null, id: String? = null, position: DivTooltip.Position? = null, animationIn: DivAnimation? = null, animationOut: DivAnimation? = null, duration: Int? = null, offset: DivPoint? = null, ): LiteralProperty { return value(DivTooltip( animationIn = optionalValue(animationIn), animationOut = optionalValue(animationOut), div = optionalValue(div), duration = optionalValue(duration), id = optionalValue(id), offset = optionalValue(offset), position = optionalValue(position), )) } fun CardContext.divTooltip( div: ValueProperty
, id: ValueProperty, position: ValueProperty, animationIn: ValueProperty? = null, animationOut: ValueProperty? = null, duration: ValueProperty? = null, offset: ValueProperty? = null, ): DivTooltip { return DivTooltip( animationIn = animationIn, animationOut = animationOut, div = div, duration = duration, id = id, offset = offset, position = position, ) } fun CardContext.divTooltip( div: Div, id: String, position: DivTooltip.Position, animationIn: DivAnimation? = null, animationOut: DivAnimation? = null, duration: Int? = null, offset: DivPoint? = null, ): DivTooltip { return DivTooltip( animationIn = optionalValue(animationIn), animationOut = optionalValue(animationOut), div = value(div), duration = optionalValue(duration), id = value(id), offset = optionalValue(offset), position = value(position), ) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy