FrontendViewModel

abstract class FrontendViewModel<P : AnyPanel>(panel: P) : LifecycleViewModel, PanelProvider<P>

A ViewModel that references the panel that hosts this ViewModel.

Parameters

P

The type of the panel.

Inheritors

Constructors

Link copied to clipboard
constructor(panel: P)

Types

Link copied to clipboard

A factory class for constructing class instances that derive from FrontendViewModel with the given panel.

Properties

Link copied to clipboard

Whether or not safety lock is currently enabled.

Link copied to clipboard
open override val panel: P

Inherited properties

Link copied to clipboard
override val lifecycle: Lifecycle

Inherited functions

Link copied to clipboard