techlab/jquery-smartwizard

getStepIndex not returning index

MartinP7r opened this issue · 1 comments

  const step = $('#smartwizard').smartWizard('getStepIndex')
  console.log(step)

does not return an index, just the actual jquery init jQuery.fn.init [div#smartwizard.col-12.sw-main.sw-theme-arrows]

Apologies, I was on an older version.