Prefix
class Prefix (View source)
The Prefix class provides helper to use standard UIkit classes without needing to prefix them manually to avoid conflicts (in page editing).
Properties
static private | $prefix | The custom prefix to replace 'uk-'. |
Methods
static string
attributes(string $str)
Replace the prefixes of UIkit classes and data attributes in a string.
static string
tags(string $str)
Search for HTML tags in a string and replace the prefixes of UIkit classes and data attributes.