Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

deck.selectedPanel

Do not hide panels; the deck element only understands visible panels.
selectedPanel
Type: element
Holds a reference to the currently selected panel within a deck element. Assigning a value to this property will modify the selected panel.

Document Tags and Contributors

 Contributors to this page: Sheppy, trevorh, pippijn, Neil, Marsf, Mgjbot, MarkFinkle
 Last updated by: Sheppy,