Component

data class Component(type: String, node: ComponentNode)

A simplified data structure representing an individual component inside BannerComponents

Constructors

Component
Link copied to clipboard
fun Component(type: String, node: ComponentNode)

Functions

component1
Link copied to clipboard
operator fun component1(): String
component2
Link copied to clipboard
operator fun component2(): ComponentNode
copy
Link copied to clipboard
fun copy(type: String, node: ComponentNode): Component
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

node
Link copied to clipboard
val node: ComponentNode
ComponentNode
type
Link copied to clipboard
val type: String
String type of component.