---
title: "Ext.from.field.TimeSecond"
description: "xtype 为 timesecondfield 的 Ext JS 原生组件参考。"
---

> Documentation Index
> Fetch the complete documentation index at: https://ag.879818327.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Ext.from.field.TimeSecond

源码定义：`ext-all-debug.js:144913`。分类：基础组件与提示。

## 创建示例

```javascript
var component = Ext.create("Ext.from.field.TimeSecond", {
  xtype: "timesecondfield",
  format: "H:i:s",
  renderTo: Ext.getBody()
});
```

## 属性

| 属性 | 类型 | 默认值 | 说明 | 配置示例 |
| --- | --- | --- | --- | --- |
| `format` | `String` | `"H:i:s"` | 值显示与解析时使用的格式。 | `format: "H:i:s"` |

## 方法

源码中未找到该组件自身声明的实例方法；可使用继承的方法。

## 事件

源码中未找到该组件自身注册的事件；可监听继承事件。

Source: https://ag.879818327.xyz/ext/basic/from-field-timesecond/index.mdx
