chore: Remark linter run
This commit is contained in:
parent
b6dab9f8fa
commit
e6f1189017
164 changed files with 395 additions and 395 deletions
|
@ -16,7 +16,7 @@ paths.example.attributes.add('class', 'lining dashed');
|
|||
Because it's so common to set attributes, Points, Paths and Snippets all have
|
||||
the `attr()` helper method.
|
||||
|
||||
Not only is less more, the method is also *chainable*, which allows you to do this:
|
||||
Not only is less more, the method is also _chainable_, which allows you to do this:
|
||||
|
||||
```js
|
||||
points.message = new Point(0,0)
|
||||
|
@ -36,7 +36,7 @@ The [adding-text](/concepts/adding-text) documentation explains this in detail.
|
|||
When rendering, FreeSewing will output all your attributes. This gives you the
|
||||
possiblity to use any valid attribute to control the appearance.
|
||||
|
||||
This is also why we use the *data-* prefix for those attributes that have
|
||||
This is also why we use the _data-_ prefix for those attributes that have
|
||||
special meaning within FreeSewing, such as `data-text`. Adding a `text` attribute
|
||||
would result in invalid SVG as there is no such thing as a text attribute. But `data-text`
|
||||
is fine because the `data-` prefix indicates it is a [custom attribute](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/data-*).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue