While using a prefixed data- attribute (data-dummy) is regarded to be a more valid syntax, considering the common use case for DummyJs in a dev environment we could get away with using other attributes to simplify the interface down:
dummy="200"
or maybe even shorter..
dd="200"
Both data- prefix would be available along with any shorthands so the option is still a choice of the developer
While using a prefixed
data-attribute (data-dummy) is regarded to be a more valid syntax, considering the common use case for DummyJs in a dev environment we could get away with using other attributes to simplify the interface down:dummy="200"or maybe even shorter..
dd="200"Both
data-prefix would be available along with any shorthands so the option is still a choice of the developer