mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Improve av https://github.com/siyuan-note/siyuan/issues/15499
This commit is contained in:
parent
8ca9f119d0
commit
a9c2ae7351
5 changed files with 35 additions and 0 deletions
|
|
@ -123,6 +123,10 @@ func (baseInstance *BaseInstance) SetGroupFolded(folded bool) {
|
|||
baseInstance.GroupFolded = folded
|
||||
}
|
||||
|
||||
func (baseInstance *BaseInstance) GetGroupHidden() int {
|
||||
return baseInstance.GroupHidden
|
||||
}
|
||||
|
||||
func (baseInstance *BaseInstance) SetGroupHidden(hidden int) {
|
||||
baseInstance.GroupHidden = hidden
|
||||
}
|
||||
|
|
@ -182,6 +186,9 @@ type Collection interface {
|
|||
// SetItems 设置集合中的项目。
|
||||
SetItems(items []Item)
|
||||
|
||||
// CountItems 返回集合中的项目数量。
|
||||
CountItems() int
|
||||
|
||||
// GetFields 返回集合的所有字段。
|
||||
GetFields() []Field
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue