728x90
반응형

Front/JS & jQuery 438

[datatables] excel export style

엑셀 다운로드 할 시 엑셀 스타일에 대한 설정. datatables 에 이미 내장되어있는 스타일 함수가 있다. https://datatables.net/reference/button/excelHtml5 excelHtml5 excelHtml5 Since: Buttons 1.0.0 Create and save an Excel XLSX file that contains the data from the table (HTML5). Please note - this property requires the Buttons extension for DataTables. Description Requires In order to operate, this button requires the datatables.net $('..

Front/JS & jQuery 2023.10.10

[js] spread syntax

https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Operators/Spread_syntax 전개 구문 - JavaScript | MDN 전개 구문을 사용하면 배열이나 문자열과 같이 반복 가능한 문자를 0개 이상의 인수 (함수로 호출할 경우) 또는 요소 (배열 리터럴의 경우)로 확장하여, 0개 이상의 키-값의 쌍으로 객체로 확장시 developer.mozilla.org 일반적으로 배열의 엘리먼트를 함수의 인수로 사용하고자 할 때 사용 const arr = [ 100, 200, 300 ]; function fn (x, y, z) {} fn( ...arr ) => fn( 100, 200, 300 )

Front/JS & jQuery 2023.10.09

[js] Math.min() / Math.max()

https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Global_Objects/Math/min Math.min() - JavaScript | MDN Math.min() 함수는 주어진 숫자들 중 가장 작은 값을 반환합니다. developer.mozilla.org https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Global_Objects/Math/max Math.max() - JavaScript | MDN Math.max() 함수는 입력값으로 받은 0개 이상의 숫자 중 가장 큰 숫자를 반환합니다. developer.mozilla.org

Front/JS & jQuery 2023.10.08
728x90
반응형