|
5 months ago | |
---|---|---|
.. | ||
README.en-US.md | 5 months ago | |
README.md | 5 months ago | |
navbar.d.ts | 5 months ago | |
navbar.js | 5 months ago | |
navbar.json | 5 months ago | |
navbar.wxml | 5 months ago | |
navbar.wxss | 5 months ago | |
props.d.ts | 5 months ago | |
props.js | 5 months ago | |
type.d.ts | 5 months ago | |
type.js | 5 months ago |
:: BASE_DOC ::
name | type | default | description | required
-- | -- | -- | -- | --
style | Object | - | CSS(Cascading Style Sheets) | N
custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N
animation | Boolean | true | - | N
capsule | Slot | - | see more ts definition | N
delta | Number | 1 | - | N
fixed | Boolean | true | - | N
left | Slot | - | 0.26.0
。see more ts definition | N
left-arrow | Boolean | false | 0.26.0
| N
title | String / Slot | - | page title。see more ts definition | N
title-max-length | Number | - | - | N
visible | Boolean | true | - | N
name | params | description -- | -- | -- complete | - | - fail | - | - go-back | - | - success | - | -
className | Description -- | -- t-class | - t-class-capsule | - t-class-center | - t-class-home-icon | - t-class-left | - t-class-left-icon | - t-class-nav-btn | - t-class-title | -
The component provides the following CSS variables, which can be used to customize styles. Name | Default Value | Description -- | -- | -- --td-navbar-bg-color | @bg-color-container | - --td-navbar-capsule-border-color | #e3e6ea | - --td-navbar-capsule-border-radius | 32rpx | - --td-navbar-capsule-height | 64rpx | - --td-navbar-capsule-width | 176rpx | - --td-navbar-color | @font-gray-1 | - --td-navbar-height | 96rpx | - --td-navbar-left-arrow-size | 48rpx | - --td-navbar-title-font-size | 36rpx | - --td-navbar-title-font-weight | 600 | -