2021-10-17 17:34:55 +02:00
|
|
|
***
|
|
|
|
|
|
|
|
## title: snap-socket
|
2021-08-25 16:09:31 +02:00
|
|
|
|
|
|
|
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" caption="An example of the snap-socket snippet" />
|