#

API Docs for: 3.10.3
Show: Inherited Protected Private Deprecated

# Plugin.Shim Class

Defined in: `node/js/shim-plugin.js:7`
Module: shim-plugin

Node plugin which can be used to add shim support.

- Index
- Methods
- Properties

## Item Index

### Methods

- destroy
- sync

### Properties

- CLASS_NAME static
- TEMPLATE static

## Methods

### `destroy`

()

Defined in `node/js/shim-plugin.js:83`

Removes the shim and destroys the plugin

### `sync`

()

Defined in `node/js/shim-plugin.js:67`

Updates the size of the shim to fill its container

## Properties

### `CLASS_NAME`

String static

Defined in `node/js/shim-plugin.js:17`

Default class used to mark the shim element

Default: "yui-node-shim"

### `TEMPLATE`

String static

Defined in `node/js/shim-plugin.js:28`

Default markup template used to generate the shim element.