Top
You are looking at an outdated 7.11.0 version of this document. Switch to the 7.14.3 version to see the up to date information.

class anychart.core.utils.BaseContextProvider Improve this Doc

Base class for context providers.

Methods Overview

Data
getTokenValue()Returns token value by token name.
Miscellaneous
getTokenType()Returns token type by token name.

Methods Description

getTokenType

Returns token type by token name.

Params:

Name Type Description
name string Name of the token.

Returns:

anychart.enums.TokenType string - Type of the token.

Try it:

getTokenValue

Returns token value by token name.

Params:

Name Type Description
name string Name of the token.

Returns:

* - Value of the token.

Try it: