Update en.md
This commit is contained in:
parent
8268b09fe3
commit
cc278a3e4b
1 changed files with 6 additions and 0 deletions
|
@ -11,11 +11,13 @@ instead, thereby overwriting the value of the attribute.
|
|||
## Signature
|
||||
|
||||
```js
|
||||
|
||||
Part Part.attr(
|
||||
string name,
|
||||
mixed value,
|
||||
bool overwrite = false
|
||||
)
|
||||
|
||||
```
|
||||
|
||||
<Tip compact>This method is chainable as it returns the `Part` object</Tip>
|
||||
|
@ -23,7 +25,9 @@ Part Part.attr(
|
|||
## Example
|
||||
|
||||
<Example caption=" Example of the Part.attr() method">
|
||||
|
||||
```js
|
||||
|
||||
({ Point, points, Path, paths, part }) => {
|
||||
|
||||
cont part = {
|
||||
|
@ -33,6 +37,8 @@ Part Part.attr(
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
</Example>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue