Disclosure Triangle
Disclosure Triangle
Un Disclosure Triangle è una piccola freccia che apre o chiude un ramo di un albero nello stesso punto.
Un altro esempio
La struttura di un file apre gli elementi figli di una cartella. Tutti gli altri rami mantengono il loro stato aperto o chiuso attuale.
Parti principali
- 01Window chrome
- 02Primary content region
- 03Platform control and state
Usalo quando
Usalo quando ogni riga può aprire i propri elementi figli e mantenere i rami aperti aiuta le persone a confrontarli.
Non usarlo quando
Non usarlo per la navigazione o un comando occasionale. Il contenuto deve avere un vero albero genitore-figlio.
Nome usato nel codice
NSOutlineView disclosure cell / SwiftUI DisclosureGroup Prima di spedire
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: La struttura di un file apre gli elementi figli di una cartella. Tutti gli altri rami mantengono il loro stato aperto o chiuso attuale. macOS concept or control: Disclosure Triangle (Disclosure Triangle). Why it fits: Usalo quando ogni riga può aprire i propri elementi figli e mantenere i rami aperti aiuta le persone a confrontarli. Do not use it when: Non usarlo per la navigazione o un comando occasionale. Il contenuto deve avere un vero albero genitore-figlio. 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): È ufficiale per quella fonte. Altre piattaforme o team potrebbero usare il termine in modo diverso. 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.
Controlla questa richiesta
Review how Disclosure Triangle (Disclosure Triangle) is used now. Definition: Un Disclosure Triangle è una piccola freccia che apre o chiude un ramo di un albero nello stesso punto. 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.