CssStyles | context-menu

namespace

## Index

### Variables

- CLOSE_ICON_ADDED
- CLOSE_ICON_STYLES
- INFO_ADDED
- INFO_STYLES
- MENU_ADDED
- MENU_STYLES

### Functions

- addCloseIconStyles_
- addInfoStyles
- addMenuStyles
- addStyles_
- makeClass_

## Variables

### CLOSE_ICON_ADDED

CLOSE_ICON_ADDED: boolean = false

- Defined in css_util.ts:188

### CLOSE_ICON_STYLES

CLOSE_ICON_STYLES: object

- Defined in css_util.ts:152

#### Type declaration

- ##### [id: string]: string

### INFO_ADDED

INFO_ADDED: boolean = false

- Defined in css_util.ts:186

### INFO_STYLES

INFO_STYLES: object

- Defined in css_util.ts:43

#### Type declaration

- ##### [id: string]: string

### MENU_ADDED

MENU_ADDED: boolean = false

- Defined in css_util.ts:187

### MENU_STYLES

MENU_STYLES: object

- Defined in css_util.ts:76

#### Type declaration

- ##### [id: string]: string

## Functions

### addCloseIconStyles_

- addCloseIconStyles_(opt_document: HTMLDocument): void

- - Defined in css_util.ts:221

  Adds the CSS style sheets for the close button.

  #### Parameters

  - ##### opt_document: HTMLDocument

    The HTML document.

  #### Returns void

### addInfoStyles

- addInfoStyles(opt_document: HTMLDocument): void

- - Defined in css_util.ts:208

  Adds the CSS styles for info widgets.

  #### Parameters

  - ##### opt_document: HTMLDocument

    The HTML document.

  #### Returns void

### addMenuStyles

- addMenuStyles(opt_document: HTMLDocument): void

- - Defined in css_util.ts:195

  Adds the CSS styles for context menus.

  #### Parameters

  - ##### opt_document: HTMLDocument

    The HTML document.

  #### Returns void

### addStyles_

- addStyles_(styles: object, opt_document: HTMLDocument): void

- - Defined in css_util.ts:234

  Creates style elements and adds them to the document.

  #### Parameters

  - ##### styles: object

    The style dictionary.

    - ##### [id: string]: string

  - ##### opt_document: HTMLDocument

    The HTML document.

  #### Returns void

### makeClass_

- makeClass_(name: string): string

- - Defined in css_util.ts:39

  Creates CSS classname by prefixing a dot.

  #### Parameters

  - ##### name: string

    The class name.

  #### Returns string

  The context menu class name.

Generated using TypeDoc