@viviedu/applet-sdk
    Preparing search index...

    Type Alias ClientAppletOptions<ReqFeats>

    type ClientAppletOptions<
        ReqFeats extends
            readonly ClientAppletFeature[] = readonly ClientAppletFeature[],
    > = {
        log?: boolean;
        requiredFeatures?: ReqFeats;
    }

    Type Parameters

    • ReqFeats extends readonly ClientAppletFeature[] = readonly ClientAppletFeature[]
    Index

    Properties

    log?: boolean

    Whether the SDK should log out verbose messaging for this applet.

    requiredFeatures?: ReqFeats

    Features the applet requires.

    Initialisation will throw if the host doesn't report all of them.

    Listing a feature here also narrows the matching method types from Method | null to Method.