function call alternative to class api
stephenhandley opened this issue · comments
Stephen Handley commented
maybe an alternative / additional api would be to allow for something like
fixie.init([".array", "#of .selectors", ".that", ".should", "#be .populated .with .lorem"])
or just a string like
fixie.init(".string, #of .comma .separated .selectors, .that, .should, #be .populated .with .lorem")
I think that would address the class proliferation issue and still be explicit about which dom nodes should be populated. easier to maintain / comment out.
Ryhan Hassan commented
Nice idea!
w14y commented
Yeah, a more flexible api would be awesome.
I'd specifically like to be able to enable fixie on everything in my <body>
tag, or just on specific elements.
Ryhan Hassan commented
Fully implemented.
Stephen Handley commented
awesome! thanks!