You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: SDWebImageSwiftUI/Classes/WebImage.swift
+7-3
Original file line number
Diff line number
Diff line change
@@ -108,16 +108,17 @@ public struct WebImage<Content> : View where Content: View {
108
108
109
109
/// Create a web image with url, placeholder, custom options and context. Optional can support animated image using Binding.
110
110
/// - Parameter url: The image url
111
+
/// - Parameter scale: The scale to use for the image. The default is 1. Set a different value when loading images designed for higher resolution displays. For example, set a value of 2 for an image that you would name with the @2x suffix if stored in a file on disk.
111
112
/// - Parameter options: The options to use when downloading the image. See `SDWebImageOptions` for the possible values.
112
113
/// - Parameter context: A context contains different options to perform specify changes or processes, see `SDWebImageContextOption`. This hold the extra objects which `options` enum can not hold.
113
114
/// - Parameter isAnimating: The binding for animation control. The binding value should be `true` when initialized to setup the correct animated image class. If not, you must provide the `.animatedImageClass` explicitly. When the animation started, this binding can been used to start / stop the animation.
0 commit comments