Skip to content

navigation-bar

attributetypeDefault valueRequiredIntroductionsMinimum version
titlestringnoNavigation bar title2.5.1
loadingbooleanfalsenoWhether to display in the navigation bar loading Load prompt2.5.1
front-colorstringnoNavigation bar foreground color value, including on, title, status bar color, support only #ffffff and #0000002.5.1
background-colorstringnoNavigation bar background color value, valid value is hexadecimal color2.5.1
color-animation-durationnumber0noAnimation duration when changing the color of the navigation bar defaults to 0 (that is, no animation)2.5.1
color-animation-timing-funcnumber"linear"noWhen changing the color of the navigation bar, support linear 、 easeIn 、 easeOut and easeInOut2.5.1