Skip to content

Commit 4e49ab9

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/6.2' into 6.2-fancybox
# Conflicts: # docs/migration/wsc61/deprecations_removals.md
2 parents 8c9713b + 6da4d3d commit 4e49ab9

File tree

3 files changed

+79
-0
lines changed

3 files changed

+79
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Toggle Button
2+
3+
A toggle button is a control used for switching (or toggling) between two states or options.
4+
5+
## Example
6+
7+
```html
8+
<label>
9+
<woltlab-core-toggle-button name="foo" checked></woltlab-core-toggle-button>
10+
Toggle Button Description ...
11+
</label>
12+
```
13+
14+
## Parameters
15+
16+
### `checked`
17+
18+
Indicates that the button is active.
19+
20+
### `name`
21+
22+
The name of the button.
23+
If the button is part of a form, the name is used to transmit the value when the form is sent.
24+
25+
### `value`
26+
27+
The value that should be transmitted when the form is sent if the button is active.
28+
29+
Defaults to `1`.

docs/migration/wsc61/deprecations_removals.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,59 @@ With version 6.2, we have deprecated certain components and removed several othe
1313
#### Methods
1414

1515
- `wcf\util\DateUtil::format()` ([WoltLab/WCF#6042](https://github.com/WoltLab/WCF/pull/6042/))
16+
- `wcf\data\smiley\category\SmileyCategoryAction::getSmilies()` ([WoltLab/WCF#6115](https://github.com/WoltLab/WCF/pull/6115/))
17+
- `wcf\data\smiley\category\SmileyCategoryAction::validateGetSmilies()` ([WoltLab/WCF#6115](https://github.com/WoltLab/WCF/pull/6115/))
18+
19+
#### Variables
20+
21+
- `wcf\form\AbstractFormBuilderForm::$objectEditLinkApplication` ([WoltLab/WCF#6110](https://github.com/WoltLab/WCF/pull/6110))
22+
23+
### JavaScript
24+
25+
- `WCF.ACP.Package.Server.Installation`
26+
- `WCF.Action.SimpleProxy`
27+
- `WCF.Browser`
28+
- `WCF.Category.NestedList`
29+
- `WCF.Collapsible.Simple`
30+
- `WCF.Collapsible.Remote`
31+
- `WCF.Collapsible.SimpleRemote`
32+
- `WCF.Dictionary`
33+
- `WCF.DOMNodeRemovedHandler`
34+
- `WCF.EditableItemList`
35+
- `WCF.Effect.Scroll`
36+
- `WCF.Message.DefaultPreview` ([WoltLab/WCF#6114](https://github.com/WoltLab/WCF/pull/6114))
37+
- `WCF.Message.EditHistory` ([WoltLab/WCF#6113](https://github.com/WoltLab/WCF/pull/6113))
38+
- `WCF.Message.FormGuard`
39+
- `WCF.Message.I18nPreview` ([WoltLab/WCF#6114](https://github.com/WoltLab/WCF/pull/6114))
40+
- `WCF.Message.Multilingualism`
41+
- `WCF.Message.Preview` ([WoltLab/WCF#6114](https://github.com/WoltLab/WCF/pull/6114))
42+
- `WCF.Message.SmileyCategories` ([WoltLab/WCF#6115](https://github.com/WoltLab/WCF/pull/6115/))
43+
- `WCF.Message.Submit`
44+
- `WCF.Moderation.Management` ([WoltLab/WCF#6116](https://github.com/WoltLab/WCF/pull/6116/))
45+
- `WCF.Moderation.Activation.Management` ([WoltLab/WCF#6116](https://github.com/WoltLab/WCF/pull/6116/))
46+
- `WCF.Moderation.Report.Management` ([WoltLab/WCF#6116](https://github.com/WoltLab/WCF/pull/6116/))
47+
- `WCF.Notification.List` ([WoltLab/WCF#6120](https://github.com/WoltLab/WCF/pull/6120/))
48+
- `WCF.PageVisibilityHandler`
49+
- `WCF.System.DisableScrolling`
50+
- `WCF.System.DisableZoom`
51+
- `WCF.System.ObjectStore`
52+
- `WCF.System.PushNotification`
53+
- `WCF.System.Worker`
54+
- `WCF.TabMenu`
55+
- `WCF.User.Profile.ActivityPointList` ([WoltLab/WCF#6119](https://github.com/WoltLab/WCF/pull/6119))
56+
- `WCF.User.SignaturePreview` ([WoltLab/WCF#6114](https://github.com/WoltLab/WCF/pull/6114))
57+
- `ui.wcfSlideshow` (jQuery Widget)
58+
- `wcfTabs` (jQuery Widget)
59+
- `datepicker` (jQuery Widget)
60+
- `wcf.messageTabMenu` (jQuery Widget) ([WoltLab/WCF#6115](https://github.com/WoltLab/WCF/pull/6115/))
1661

1762
## Removals
1863

1964
### PHP
2065

2166
#### Methods
2267

68+
- `wcf\data\cronjob\log\CronjobLogAction::clearAll()` ([WoltLab/WCF#6077](https://github.com/WoltLab/WCF/pull/6077))
2369
- `wcf\util\CLIUtil::formatTime()` ([WoltLab/WCF#6042](https://github.com/WoltLab/WCF/pull/6042/))
2470
- `wcf\util\CLIUtil::formatDate()` ([WoltLab/WCF#6042](https://github.com/WoltLab/WCF/pull/6042/))
2571

@@ -30,3 +76,6 @@ With version 6.2, we have deprecated certain components and removed several othe
3076
### JavaScript
3177

3278
- `WCF.ImageViewer` ([WoltLab/WCF#6035](https://github.com/WoltLab/WCF/pull/6035/))
79+
- `WCF.ACP.Cronjob.LogList` ([WoltLab/WCF#6077](https://github.com/WoltLab/WCF/pull/6077))
80+
- `WCF.Moderation.Queue.MarkAsRead`
81+
- `WCF.Moderation.Queue.MarkAllAsRead`

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ nav:
7070
- 'Notices': 'javascript/components_notice.md'
7171
- 'Pagination': 'javascript/components_pagination.md'
7272
- 'RPC API': 'javascript/components_rpc_api.md'
73+
- 'Toggle Button': 'javascript/components_toggle_button.md'
7374
- 'New API':
7475
- 'Writing a module': 'javascript/new-api_writing-a-module.md'
7576
- 'Core Functions': 'javascript/new-api_core.md'

0 commit comments

Comments
 (0)