Skip to main content
Version: 3.x

Class: NodeAppearanceProvider

@cognite/reveal.NodeAppearanceProvider

Constructors

constructor

new NodeAppearanceProvider()

Accessors

isLoading

get isLoading(): boolean

Returns

boolean

Defined in

packages/cad-styling/src/NodeAppearanceProvider.ts:155

Methods

applyStyles

applyStyles(applyCb): void

Parameters

NameType
applyCbApplyStyleDelegate

Returns

void

Defined in

packages/cad-styling/src/NodeAppearanceProvider.ts:118


assignStyledNodeCollection

assignStyledNodeCollection(nodeCollection, appearance): void

Parameters

NameType
nodeCollectionNodeCollection
appearanceNodeAppearance

Returns

void

Defined in

packages/cad-styling/src/NodeAppearanceProvider.ts:82


clear

clear(): void

Returns

void

Defined in

packages/cad-styling/src/NodeAppearanceProvider.ts:146


getPrioritizedAreas

getPrioritizedAreas(): PrioritizedArea[]

Returns

PrioritizedArea[]

Defined in

packages/cad-styling/src/NodeAppearanceProvider.ts:125


off

off(event, listener): void

Parameters

NameType
event"changed"
listener() => void

Returns

void

Defined in

packages/cad-styling/src/NodeAppearanceProvider.ts:60

off(event, listener): void

Parameters

NameType
event"loadingStateChanged"
listener(isLoading: boolean) => void

Returns

void

Defined in

packages/cad-styling/src/NodeAppearanceProvider.ts:61


on

on(event, listener): void

Parameters

NameType
event"changed"
listener() => void

Returns

void

Defined in

packages/cad-styling/src/NodeAppearanceProvider.ts:37

on(event, listener): void

Parameters

NameType
event"loadingStateChanged"
listener(isLoading: boolean) => void

Returns

void

Defined in

packages/cad-styling/src/NodeAppearanceProvider.ts:38

on(event, listener): void

Parameters

NameType
event"prioritizedAreasChanged"
listener() => void

Returns

void

Defined in

packages/cad-styling/src/NodeAppearanceProvider.ts:39


unassignStyledNodeCollection

unassignStyledNodeCollection(nodeCollection): void

Parameters

NameType
nodeCollectionNodeCollection

Returns

void

Defined in

packages/cad-styling/src/NodeAppearanceProvider.ts:106