2021-10-17 18:26:00 +02:00
|
|
|
---
|
|
|
|
title: snap-stud
|
|
|
|
---
|
2021-08-25 16:09:31 +02:00
|
|
|
|
|
|
|
The `snap-stud` snippet is used to mark the stud part of a snap button.
|
|
|
|
|
|
|
|
It is provided by [plugin-buttons](/reference/plugins/buttons/).
|
|
|
|
|
|
|
|
```js
|
|
|
|
snippets.demo = new Snippet('snap-stud', points.anchor)
|
|
|
|
```
|
|
|
|
|
2022-01-19 11:31:39 +01:00
|
|
|
<Example part="snippets_snapstud">
|
|
|
|
An example of the snap-stud snippet
|
|
|
|
</Example>
|