* Destroys the component. * * @param completely - Whether to destroy the component completely or not.
( completely?: boolean )
| 145 | * @param completely - Whether to destroy the component completely or not. |
| 146 | */ |
| 147 | function destroy( completely?: boolean ): void { |
| 148 | const attrs = ALL_ATTRIBUTES.concat( 'style' ); |
| 149 | |
| 150 | empty( slides ); |
| 151 | removeClass( root, rootClasses ); |
| 152 | removeClass( track, trackClasses ); |
| 153 | removeAttribute( [ track, list ], attrs ); |
| 154 | removeAttribute( root, completely ? attrs : [ 'style', ARIA_ROLEDESCRIPTION ] ); |
| 155 | } |
| 156 | |
| 157 | /** |
| 158 | * Updates the status of elements. |
nothing calls this directly
no test coverage detected
searching dependent graphs…