feat(action-bar): iosLargeTitle and iosShadow attributes #10694
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Allows setting prefersLargeTitles as well as hiding the shadow/bottom shadow border on the ActionBar. Changes no current defaults, just extra options to customize.
PR Checklist
What is the current behavior?
Currently you could use loaded event to grab ActionBar reference to set it's prefersLargeTitles property on the UINavigationBar as well as modify it's appearance.
What is the new behavior?
This introduces 2 new ActionBar attributes:
iosLargeTitle
: boolean (keeps current default, which is false).iosShadow
: boolean (keeps current default, which is true).Introduces no breaking changes - keeps existing behavior while providing easy declarative options to customize.
closes #9046
closes #5904
With
iosLargeTitle="true" iosShadow="false"
:https://github.com/user-attachments/assets/3e49e358-32c1-4b69-927f-5ce32744d794
With just
iosLargeTitle="true"
, keeping current shadow default:https://github.com/user-attachments/assets/28f9d02a-d41f-4e89-a231-157ea88389da
With just
iosShadow="false"
:https://github.com/user-attachments/assets/3228088d-478a-464f-baa3-34eeb3b5ef33