<sbux-input id="sbIdx1" name="sbName1" uitype="text" init="input get"></sbux-input>
<script> $(document).ready(function(){ console.log(SBUxMethod.get('sbName1')); }); </script>
<sbux-input id="sbIdx1" name="sbName1" uitype="text" init="input get1"></sbux-input> <sbux-input id="sbIdx2" name="sbName2" uitype="text" init="input get2"></sbux-input> <sbux-input id="sbIdx3" name="sbName3" uitype="text" init="input get3"></sbux-input>
<script> $(document).ready(function(){ console.log(SBUxMethod.getAllData()); }); </script>
F12를 눌러 콘솔창을 확인해보세요.
1. 개별 Component 값
2. 여러 Component 값