-
Notifications
You must be signed in to change notification settings - Fork 273
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
feat: add animationMode configuration #905
Conversation
- Add animationMode to configure the degree of components animations. Available options are: 'full' (by default), 'basic', 'minimal', 'none'. - switch on/off the ui5-panel toggle animation based on the 'animationMode'
@@ -0,0 +1,7 @@ | |||
const AnimationModes = { |
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.
Should be AnimationMode (not modes), similar to ButtonType.
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.
yes, done
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.
Fix the documentation about the default animation mode (Full) and also make sure it is enforced by the configuration if the user didn't supply it.
docs/Configuration.md
Outdated
@@ -11,6 +11,7 @@ theme | sap_fiori_3, sap_belize, sap_belize_hcb | sap_fiori_3 | | |||
language | en, de, es, etc... | en | Language to be used for translatable texts | |||
[RTL](#rtl) | true, false | false | When true, sets global text direction to right-to-left | |||
compactSize | true, false | false | When set, enforces compact density (smaller margins/paddings) | |||
[animationMode](#animationMode) | full, basic, minimal, none | false | Defines the animation effects of the web components |
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.
Set the correct one
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.
done
animationMode
to configure the degree of components animations.Available options are:
full
(by default),basic
,minimal
andnone
,where
full
means all animations run without restrictions andnone
means all animations are off.animationMode
.