Patterns
Patterns copied to clipboard
Have the attribute property of pat-toggle also available for pat-switch
Example use case: changing out an image by manipulating the src attribute or enabling/disabling an input field.
toggle has class and attribute toggles and can manipulate both. switch is built to only manipulate classes. Switch should also be able to manipulate attributes. Careful, both codebases are very different.