Skip to main content

sdk.viewcontroller.getapi

Home > @kittl/sdk > ViewController > getApi

ViewController.getApi property

Gets the API instance for this controller. Use this for synchronous operations such as setting values in the state.

Signature:

getApi: () => Api;