Instance Methodscinfu.swiftsoup 2.8.7SwiftSoup
classNames
Get all of the element’s class names. E.g. on element {@code
}, returns a set of two elements {@code “header”, “gray”}. Note that modifications to this set are not pushed to the backing {@code class} attribute; use the {@link #classNames(java.util.Set)} method to persist them.
Element.swift:1175func classNames() throws -> OrderedSet<String>
<return>