@gaonengwww/tiny-toolkit-docs
Version:
这里对你的套件进行简单描述, 比如适用哪些场景,使用了什么技术, 有什么特点
24 lines (22 loc) • 435 B
text/typescript
import { Component } from '@angular/core';
import { TiButtonItem } from '@opentiny/ng';
({
templateUrl: './buttongroup-items.html',
})
export class ButtongroupItemsComponent {
items: Array<TiButtonItem> = [
{
text: '1 hour',
},
{
text: '12 hours',
},
{
text: '1 day',
},
{
text: '3 days',
},
];
selected: TiButtonItem = this.items[2];
}