Matching PostHTML nodes by class name
This program is intended for use within a PostHTML plugins.
Methods
contains(targetClassName: string): boolean
- Whether the node contains the specified class name
remove(targetClassName: string): void
- Remove the specified class name
refine(targetClassName: string): boolean
- Refine node by specified class name