---
title: "CSSKeywordValue | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

# Interface CSSKeywordValue

The **`CSSKeywordValue`** interface of the CSS Typed Object Model API creates an object to represent CSS keywords and other identifiers.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeywordValue)

interface CSSKeywordValue {  
    [value](#value): string;  
    [toString](#tostring-1)(): string;  
}

#### Hierarchy ([View Summary](https://docs.maptiler.com/sdk-js/api-reference/hierarchy/#Externals.CSSKeywordValue))

-   [CSSStyleValue](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.CSSStyleValue/)
    -   CSSKeywordValue

##### Index

### Properties[](#properties)

[value](#value)

### Methods[](#methods)

[toString](#tostring)

## Properties[](#properties-1)

### value[](#value)

value: string

The **`value`** property of the CSSKeywordValue interface returns or sets the value of the CSSKeywordValue.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeywordValue/value)

## Methods[](#methods-1)

### toString[](#tostring)

-   toString(): string[](#tostring-1)
    
    #### Returns string
    
    Inherited from [CSSStyleValue](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.CSSStyleValue/).[toString](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.CSSStyleValue/#tostring)
