Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions _source/_data/categories.json
Original file line number Diff line number Diff line change
Expand Up @@ -2672,7 +2672,7 @@
},
{
"name": "margins",
"description": "Sets the margins of a given page. If 1 value is given, all 4 sides are set equally. If 4 values are given, the current page will be adjusted. Adding a 5th value will set the margin of a given page. Calling the function without any values, will return the margins for the current page.",
"description": "Sets the margins of a given page. If 1 value is given, all 4 sides are set equally. If 4 values are given, the current page will be adjusted. Optionally a page number or name can be given to set the margins of a specific page. Calling the function without any values will return the margins for the current page.",
"returns": {
"name": null,
"description": "Current page margins with the properties: `top`, `right`, `bottom`, `left`.",
Expand Down Expand Up @@ -2717,7 +2717,7 @@
},
{
"name": "pageNumber",
"description": "Sets margins to selected page, currentPage() if left blank.",
"description": "Page number, page name or page object of the page with margins to set; current page if left blank.",
"optional": true,
"type": [
"Number"
Expand All @@ -2732,7 +2732,7 @@
},
{
"title": "description",
"description": "Sets the margins of a given page. If 1 value is given, all 4 sides are set equally. If 4 values are given, the current page will be adjusted. Adding a 5th value will set the margin of a given page. Calling the function without any values, will return the margins for the current page."
"description": "Sets the margins of a given page. If 1 value is given, all 4 sides are set equally. If 4 values are given, the current page will be adjusted. Optionally a page number or name can be given to set the margins of a specific page. Calling the function without any values will return the margins for the current page."
}
],
"examples": [],
Expand Down Expand Up @@ -3307,7 +3307,7 @@
},
{
"name": "duplicate",
"description": "Duplicates the given page after the current page or the given page item to the current page and layer. Use `rectMode()` to set center point.",
"description": "Duplicates the given page after the current page or the given page item to the current page and layer. If a page is duplicated, basil.js automatically jumps to the new page.",
"returns": {
"name": null,
"description": "The new page item or page.",
Expand Down Expand Up @@ -3336,7 +3336,7 @@
},
{
"title": "description",
"description": "Duplicates the given page after the current page or the given page item to the current page and layer. Use `rectMode()` to set center point."
"description": "Duplicates the given page after the current page or the given page item to the current page and layer. If a page is duplicated, basil.js automatically jumps to the new page."
}
],
"examples": [],
Expand Down
10 changes: 5 additions & 5 deletions _source/_data/cats-and-subcats.json
Original file line number Diff line number Diff line change
Expand Up @@ -2770,7 +2770,7 @@
},
{
"name": "margins",
"description": "Sets the margins of a given page. If 1 value is given, all 4 sides are set equally. If 4 values are given, the current page will be adjusted. Adding a 5th value will set the margin of a given page. Calling the function without any values, will return the margins for the current page.",
"description": "Sets the margins of a given page. If 1 value is given, all 4 sides are set equally. If 4 values are given, the current page will be adjusted. Optionally a page number or name can be given to set the margins of a specific page. Calling the function without any values will return the margins for the current page.",
"returns": {
"name": null,
"description": "Current page margins with the properties: `top`, `right`, `bottom`, `left`.",
Expand Down Expand Up @@ -2815,7 +2815,7 @@
},
{
"name": "pageNumber",
"description": "Sets margins to selected page, currentPage() if left blank.",
"description": "Page number, page name or page object of the page with margins to set; current page if left blank.",
"optional": true,
"type": [
"Number"
Expand All @@ -2830,7 +2830,7 @@
},
{
"title": "description",
"description": "Sets the margins of a given page. If 1 value is given, all 4 sides are set equally. If 4 values are given, the current page will be adjusted. Adding a 5th value will set the margin of a given page. Calling the function without any values, will return the margins for the current page."
"description": "Sets the margins of a given page. If 1 value is given, all 4 sides are set equally. If 4 values are given, the current page will be adjusted. Optionally a page number or name can be given to set the margins of a specific page. Calling the function without any values will return the margins for the current page."
}
],
"examples": [],
Expand Down Expand Up @@ -3417,7 +3417,7 @@
},
{
"name": "duplicate",
"description": "Duplicates the given page after the current page or the given page item to the current page and layer. Use `rectMode()` to set center point.",
"description": "Duplicates the given page after the current page or the given page item to the current page and layer. If a page is duplicated, basil.js automatically jumps to the new page.",
"returns": {
"name": null,
"description": "The new page item or page.",
Expand Down Expand Up @@ -3446,7 +3446,7 @@
},
{
"title": "description",
"description": "Duplicates the given page after the current page or the given page item to the current page and layer. Use `rectMode()` to set center point."
"description": "Duplicates the given page after the current page or the given page item to the current page and layer. If a page is duplicated, basil.js automatically jumps to the new page."
}
],
"examples": [],
Expand Down
Loading