TypeScript API
Template

Class: Template<P>

Type parameters

Name
P

Hierarchy

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new Template<P>(config): Template<P>

Type parameters

Name
P

Parameters

NameType
configTemplateConfig & P

Returns

Template<P>

Defined in

packages/react-native-carplay/src/templates/Template.ts:92 (opens in a new tab)

Properties

config

config: TemplateConfig & P

Defined in

packages/react-native-carplay/src/templates/Template.ts:92 (opens in a new tab)


id

id: string

Defined in

packages/react-native-carplay/src/templates/Template.ts:86 (opens in a new tab)

Accessors

eventMap

get eventMap(): Object

Returns

Object

Defined in

packages/react-native-carplay/src/templates/Template.ts:88 (opens in a new tab)


type

get type(): string

Returns

string

Defined in

packages/react-native-carplay/src/templates/Template.ts:83 (opens in a new tab)

Methods

parseConfig

parseConfig(config): any

Parameters

NameType
configany

Returns

any

Defined in

packages/react-native-carplay/src/templates/Template.ts:147 (opens in a new tab)


updateTemplate

updateTemplate(config): void

Parameters

NameType
configP

Returns

void

Defined in

packages/react-native-carplay/src/templates/Template.ts:141 (opens in a new tab)