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: Sources/FioriSwiftUICore/FioriButton/FioriButton.swift
+9-5
Original file line number
Diff line number
Diff line change
@@ -217,11 +217,15 @@ public enum FioriButtonLoadingState {
217
217
case success
218
218
}
219
219
220
-
/// image position related to the title
220
+
/// Place the image along the top, leading, bottom, or trailing edge of the button.
221
221
publicenumFioriButtonImagePosition{
222
+
/// place the image along the top edge of the button.
222
223
case top
224
+
/// place the image along the leading edge of the button.
223
225
case leading
226
+
/// place the image along the bottom edge of the button.
224
227
case bottom
228
+
/// place the image along the trailing edge of the button.
225
229
case trailing
226
230
}
227
231
@@ -232,10 +236,10 @@ public extension FioriButton {
232
236
/// - isSelectionPersistent: A boolean value determines whether the button should be persistent or not.
233
237
/// - action: Action triggered when tap on button.
234
238
/// - title: A closure that returns a title text for each state. For a button with non-persistent selection, `.normal`, `.disabled`, `.highlighted` are supported. For a button with persistent selection, use `.selected` instead of `.highlighted`.
235
-
/// - image: image of the button when loading state is .unspecified
236
-
/// - loadingState: A state to show activity indicator or success icon, default is .unspecified
237
-
/// - imagePosition: image position related to the title
238
-
/// - imageTitleSpacing: spacing between image and title
239
+
/// - image: image of the button when loading state is .unspecified.
240
+
/// - loadingState: A state to show activity indicator or success icon, default is .unspecified.
241
+
/// - imagePosition: Place the image along the top, leading, bottom, or trailing edge of the button.
242
+
/// - imageTitleSpacing: spacing between image and title.
0 commit comments