You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
esr360 edited this page Jun 19, 2019
·
3 revisions
sQuery.init({ ...options})
Available options:
Option
Type
Default
Info
elementProto
Boolean
true
Attach sQuery methods to the Element prototype [1]
nodeListProto
Boolean
true
Attach sQuery methods to the NodeList prototype [1]
preset
('Synergy'|'BEM')
'Synergy'
Choose a naming convention preset
Synergy
Boolean
true
Update/create window.Synergy object
modifierGlue
String
undefined
Overwrite the modifierGule defined by preset
componentGlue
String
undefined
Overwrite the componentGlue defined by preset
[1]: sQuery will only attach a method to the Element/NodeList prototype if it doesn't already exist - this is never the case using the default Synergy preset