![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /var/www/html/libs/absol-doc/content/acomp/component/ |
Upload File : |
## TimeRange23Input ### props * **dayOffset**: `number` - thời gian bắt đầu, tính bằng millisecond, nếu truyền là số lẻ, sẽ làm tròn xuống, nếu là số âm, sẽ được cộng thêm trước khi làm tròn * **duration**: `number` - độ dài thời gian, tính bằng millisecond * **notNull**: `boolean` - cho phép giá trị null, nếu `true` - **dayOffset** và **duration** sẽ mặc định 0 nếu truyền giá trị không hợp lệ * **readOnly**: `boolean` * **disabled**: `boolean` * **value**: `{dayOffset: number, duration: number}` - giá trị tổng hợp ### class `as-border-none`: chỉ dùng dược khi `readOnly = true`, input sẽ có dạng text ### code ```js var input = absol._({ tag: 'timerange24input', props: { dayOffset: 3600000 * 9.5, duration: 3600000 }, on: { change: function () { console.log(this.value) input3.value = this.value; } } }); myDiv.addChild(input); ```