Component

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

A simplified data structure representing an individual component inside BannerComponents

Constructors

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

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for the object.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.

Properties

Link copied to clipboard
val node: ComponentNode

ComponentNode

Link copied to clipboard
val type: String

String type of component.