/* tslint:disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ export interface Tabs { /** * tabs 背景色,必须填写十六进制颜色 */ "tabs-background-color"?: string; /** * tabs 激活 tab-item 文字颜色 */ "tabs-active-text-color"?: string; /** * tabs 非激活 tab-item 文字颜色 */ "tabs-inactive-text-color"?: string; /** * tabs 激活 tab-item 下划线颜色 */ "tabs-underline-color"?: string; /** * 仅用于普通标签栏组件,当前激活 tab-item 的对应的 name 值,须搭配 bindtabchange 一起使用。 */ "active-name"?: string; /** * 仅用于可寻址标签栏组件,当前 tab 所改变的 url query 中参数 key,需要通过 tabs 修改页面 url 的时候设置。 */ "url-query-name"?: string; /** * 当前 tabs 视图中最多容纳的 tab-item 数量,低于此数量均分排列,超出此数量划屏。默认五个,开发者可根据业务需求调整 */ "max-tab-item-amount"?: number; /** * tab 被点击的回调,可以在 e.detail.name 中取到当前点击的 tab-item 对应的 name 值 */ bindTabChange?: () => void; }