-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TIMOB-15580 add setSubTitle property and method #4908
TIMOB-15580 add setSubTitle property and method #4908
Conversation
Document not updated will update after set setsubtitle as property |
private static final String SHOW_HOME_AS_UP = "showHomeAsUp"; | ||
private static final String BACKGROUND_IMAGE = "backgroundImage"; | ||
private static final String TITLE = "title"; | ||
private static final String LOGO = "logo"; | ||
private static final String ICON = "icon"; | ||
private static final String NAVIGATION_MODE = "navigationMode"; | ||
|
||
private static final String SUBTITLE = "subtitle"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use TiC.PROPERTY_SUBTITLE.
What do you mean by "But not work this as property"? If you want get the value of this property, you need to implement a getter. Something like getTitle() in this class. |
works on it . still actionBar.subtitle = "New sub Title" not working :( after implement |
If the property name is "subtitle", the setter should be setSubtitle() and the getter should be getSubtitle(). |
will change |
Code reviewed and functionally tested. Accepted |
…ionBar TIMOB-15580 add setSubTitle property and method
https://jira.appcelerator.org/browse/TIMOB-15580
Working subtitle as method ( actionBar.setSubTitle("New sub Title"); )
But not work this as property . how can I implement this as property ?