You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.3 KiB

1 year ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. 'use strict';
  2. $(document).ready(function(){
  3. // $('#text_demo1').tooltip({'trigger':'focus', 'title': 'Dismissible popover','content': 'sdff fgfg'});
  4. $('#text_demo, #textarea_demo, #checkbox_demo, #select_demo').tm_editbale('init',{
  5. theme:'dotted-line-theme',
  6. full_length:{
  7. outside:false,
  8. inside:true
  9. },
  10. outside_btn:{
  11. onshow:"",
  12. new_line:false,
  13. onhover:''
  14. },
  15. inside_btn:{
  16. new_line:false,
  17. ok:"<i class='icofont icofont-ui-check'></i>",
  18. cancel:"<i class='icofont icofont-ui-close'></i>"
  19. }
  20. });
  21. setTimeout(function(){
  22. $('#radio_demo').tm_editbale('init',{
  23. theme:'dotted-line-theme',
  24. full_length:{
  25. outside:false,
  26. inside:true
  27. },
  28. outside_btn:{
  29. onshow:"",
  30. new_line:false,
  31. onhover:''
  32. },
  33. inside_btn:{
  34. new_line:false,
  35. ok:"<i class='icofont icofont-ui-check'></i>",
  36. cancel:"<i class='icofont icofont-ui-close'></i>"
  37. }
  38. });
  39. },350);
  40. });