Skip to main content

View

EXTENSION

View

extension View

Methods

requestFeature(_:)

public func requestFeature(_ viewModel: FeatureViewModel) -> some View

Requests the specified feature exactly once from the Causal API.

  • Parameter viewModel: The view model for the feature.
  • Returns: The modified view.

Parameters

NameDescription
viewModelThe view model for the feature.