ResizableComponentTester


class ResizableComponentTester


A test-only accessor for ResizableComponent that enables direct manipulation and inspection of its internal state.

Summary

Public functions

open operator Boolean
equals(other: Any?)
open Int
Unit

Simulates a resize event from the runtime, notifying all registered listeners.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

triggerOnResizeEvent

Added in 1.0.0-alpha16
fun triggerOnResizeEvent(resizeEvent: ResizeEvent): Unit

Simulates a resize event from the runtime, notifying all registered listeners.

This triggers callbacks registered via ResizableComponent.addResizeEventListener.

Parameters
resizeEvent: ResizeEvent

The ResizeEvent to be sent.