Skip to content

Commit

Permalink
Move modifiers to their own page
Browse files Browse the repository at this point in the history
  • Loading branch information
vsanthanam committed Aug 11, 2023
1 parent eec1b7d commit 5b69913
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 17 deletions.
30 changes: 30 additions & 0 deletions Sources/SafariView/SafariView.docc/Modifiers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# ``SwiftUI/View``

SwiftUI view modifiers used to configure a ``SafariView/SafariView``

## Topics

### Configuration

- ``SwiftUI/View/safariEntersReaderIfAvailable(_:)``
- ``SwiftUI/View/safariBarCollapsingEnabled(_:)``

### Appearance

- ``SwiftUI/View/safariBarTintColor(_:)``
- ``SwiftUI/View/safariControlTintColor(_:)``
- ``SwiftUI/View/safariDismissButtonStyle(_:)``

### Presentation

- ``SwiftUI/View/safari(isPresented:onDismiss:safariView:)``
- ``SwiftUI/View/safari(url:onDismiss:safariView:)``
- ``SwiftUI/View/safari(item:onDismiss:safariView:)``
- ``SwiftUI/View/safari(item:id:onDismiss:safariView:)``

### Custom Activities

- ``SwiftUI/View/includedSafariActivities(_:)-2u8l9``
- ``SwiftUI/View/includedSafariActivities(_:)-362lz``
- ``SwiftUI/View/excludedSafariActivityTypes(_:)-tvrg``
- ``SwiftUI/View/excludedSafariActivityTypes(_:)-1v8zq``
20 changes: 3 additions & 17 deletions Sources/SafariView/SafariView.docc/View.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,25 +36,14 @@ You can also use sheet presentation, or any other presentation mechanism of your
- ``init(url:activityButton:onInitialLoad:onInitialRedirect:onOpenInBrowser:)``
- ``init(url:activityButton:eventAttribution:onInitialLoad:onInitialRedirect:onOpenInBrowser:)``

### Configuration
### View Modifiers

- ``SwiftUI/View/safariEntersReaderIfAvailable(_:)``
- ``SwiftUI/View/safariBarCollapsingEnabled(_:)``
- ``SwiftUI/View``

### Appearance

- ``SwiftUI/View/safariBarTintColor(_:)``
- ``SwiftUI/View/safariControlTintColor(_:)``
- ``SwiftUI/View/safariDismissButtonStyle(_:)``
- ``SafariView/SafariView/DismissButtonStyle``

### Presentation

- ``SwiftUI/View/safari(isPresented:onDismiss:safariView:)``
- ``SwiftUI/View/safari(url:onDismiss:safariView:)``
- ``SwiftUI/View/safari(item:onDismiss:safariView:)``
- ``SwiftUI/View/safari(item:id:onDismiss:safariView:)``

### Connection Prewarming

- ``prewarmConnections(to:)``
Expand All @@ -67,12 +56,9 @@ You can also use sheet presentation, or any other presentation mechanism of your

### Custom Activities

- ``SwiftUI/View/includedSafariActivities(_:)-2u8l9``
- ``SwiftUI/View/includedSafariActivities(_:)-362lz``
- ``SafariView/SafariView/IncludedActivities``
- ``SwiftUI/View/excludedSafariActivityTypes(_:)-tvrg``
- ``SwiftUI/View/excludedSafariActivityTypes(_:)-1v8zq``
- ``SafariView/SafariView/ExcludedActivityTypes``
- ``SafariView/SafariView/ActivityButton``

### Environment Values

Expand Down

0 comments on commit 5b69913

Please sign in to comment.