15 lines
326 B
Markdown
15 lines
326 B
Markdown
---
|
|
title: snap-socket
|
|
---
|
|
|
|
The `snap-socket` snippet is used to mark the socket part of a snap button.
|
|
|
|
It is provided by [plugin-buttons](/reference/plugins/buttons/).
|
|
|
|
```js
|
|
snippets.demo = new Snippet('snap-socket', points.anchor)
|
|
```
|
|
|
|
<Example part="snippets_snapsocket">
|
|
An example of the snap-socket snippet
|
|
</Example>
|