Skip to content

Commit 8701242

Browse files
authored
Update README.md
1 parent d4b799c commit 8701242

1 file changed

Lines changed: 43 additions & 1 deletion

File tree

README.md

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ dismiss
4343

4444
### Other
4545

46+
you can customize everything
47+
4648
- ##### change title color of each item
4749

4850
You can set `titleColor` to change the title color of each FEPopupMenuItem, respectively.
@@ -51,6 +53,46 @@ dismiss
5153

5254
You can call the `moveContentViewToPosition` method to change the location of the nemu in real time.(see demo)
5355

56+
#### more...
57+
58+
```
59+
/**
60+
* When selected a item will automatic dismiss the FEPopupMenuController, default is YES.
61+
*/
62+
@property (nonatomic, assign) BOOL automaticDismiss;
63+
64+
/**
65+
* the content view width, default is 130.
66+
*/
67+
@property (nonatomic, assign) CGFloat contentViewWidth;
68+
69+
/**
70+
* the content view position, default is (0,0)
71+
*/
72+
@property (nonatomic, assign) CGPoint contentViewPosition;
73+
74+
/**
75+
* the content view background color, default is white
76+
*/
77+
@property (nonatomic, strong) UIColor *contentViewBackgroundColor;
78+
79+
/**
80+
* the content view corner radius, default is 8.0
81+
*/
82+
@property (nonatomic, assign) CGFloat contentViewCornerRadius;
83+
84+
/**
85+
* arrow view x position , default is 70% of contentViewWidth
86+
*/
87+
@property (nonatomic, assign) CGFloat arrowX;
88+
89+
/**
90+
* arrow of top on content view show or hidden, default is NO (hidden)
91+
*/
92+
@property (nonatomic, assign) BOOL isShowArrow;
93+
94+
```
95+
5496
### CocoaPods
5597

5698
```
@@ -59,4 +101,4 @@ pod 'FEPopupMenuController'
59101

60102
### Licence
61103

62-
MIT
104+
MIT

0 commit comments

Comments
 (0)