Disclosure Triangle
Disclosure Triangle
Uma Disclosure Triangle é uma pequena seta que abre ou fecha um ramo de uma árvore no mesmo lugar.
Outro exemplo
Um outline de arquivos abre os filhos de uma pasta. Todos os outros ramos mantêm seu estado atual de aberto ou fechado.
Partes principais
- 01Window chrome
- 02Primary content region
- 03Platform control and state
Use-o quando
Use-o quando cada linha puder abrir seus próprios itens filhos e manter os ramos abertos ajudar as pessoas a compará-los.
Não o use quando
Não o use para navegação ou um comando único. O conteúdo deve ter uma verdadeira árvore de pai–filho.
Nome usado no código
NSOutlineView disclosure cell / SwiftUI DisclosureGroup Antes de lançar
Check the supported macOS versions and AppKit or SwiftUI integration. Check standard focus and keyboard behavior. Also check VoiceOver, Full Keyboard Access, window resizing, and multi-window state. When needed, check restore, localization, and reduced motion.
Outcome: Complete the task with Disclosure Triangle (Disclosure Triangle). User context: Um outline de arquivos abre os filhos de uma pasta. Todos os outros ramos mantêm seu estado atual de aberto ou fechado. macOS concept or control: Disclosure Triangle (Disclosure Triangle). Why it fits: Use-o quando cada linha puder abrir seus próprios itens filhos e manter os ramos abertos ajudar as pessoas a compará-los. Do not use it when: Não o use para navegação ou um comando único. O conteúdo deve ter uma verdadeira árvore de pai–filho. Platform requirements: List the supported macOS versions. Say whether AppKit or SwiftUI owns each part and how they connect. Define window, menu, focus, keyboard, saved state, restore, and multi-window behavior. Platform accessibility and resilience: Use the right accessibility APIs. Check VoiceOver and Full Keyboard Access. Support localization, contrast, and reduced motion when needed. Keep user state after a relaunch. Acceptance criteria: Check the behavior on supported macOS versions with a keyboard and VoiceOver. Window resizing, focus, state restore, and AppKit or SwiftUI integration work in the normal macOS way. Evidence and limits (evidence boundary): É oficial para essa fonte. Outras plataformas ou equipes podem usar o termo de outra maneira. Unknowns to confirm: Supported macOS versions, AppKit or SwiftUI structure, and window model. Also confirm sandbox and entitlement limits, save rules, and the accessibility goal.
Conferir este pedido
Review how Disclosure Triangle (Disclosure Triangle) is used now. Definition: Uma Disclosure Triangle é uma pequena seta que abre ou fecha um ramo de uma árvore no mesmo lugar. Release checks: Check the supported macOS versions and AppKit or SwiftUI integration. Check standard focus and keyboard behavior. Also check VoiceOver, Full Keyboard Access, window resizing, and multi-window state. When needed, check restore, localization, and reduced motion. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.