Skip to content

Commit 649b458

Browse files
committed
update README.md file.
1 parent b68d4b3 commit 649b458

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,37 @@
3030
| `indicatorType = .cover` `titleStyle = .gradient` | `isShowIndicatorView = false` `titleStyle = .transfrom` | `indicatorType = .cover` `titleStyle = .transfrom` | `isShowIndicatorView = false` `titleStyle = .gradient` |
3131

3232
---
33+
## Menu indicator and title style
34+
35+
- **Using enumerations to define `LCSlideMenuTitleStyle` and `LCSlideMenuTitleStyle` types**
36+
37+
```swift
38+
39+
/// Select the menu header style
40+
///
41+
/// - normal: normal
42+
/// - gradient: The gradient color
43+
/// - transfrom: zoom
44+
public enum LCSlideMenuTitleStyle {
45+
case normal
46+
case gradient
47+
case transfrom
48+
}
49+
50+
/// Select the menu indicator style
51+
///
52+
/// - normal: normal
53+
/// - stretch: stretch
54+
/// - followText: Following text length
55+
/// - cover: mask
56+
public enum LCSlideMenuIndicatorStyle {
57+
case normal
58+
case stretch
59+
case followText
60+
case cover
61+
}
62+
63+
```
3364

3465

3566
## Attribute

0 commit comments

Comments
 (0)