@vandenberghinc/volt 1.1.26 → 1.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/backend/dist/cjs/{blacklist.d.ts → backend/src/blacklist.d.ts} +5 -3
- package/backend/dist/cjs/{blacklist.js → backend/src/blacklist.js} +8 -5
- package/backend/dist/cjs/{cli.js → backend/src/cli.js} +29 -47
- package/backend/dist/cjs/backend/src/database/collection.d.ts +1543 -0
- package/backend/dist/cjs/backend/src/database/collection.js +3042 -0
- package/backend/dist/cjs/backend/src/database/database.d.ts +66 -0
- package/backend/dist/cjs/{database → backend/src/database}/database.js +48 -43
- package/backend/dist/cjs/backend/src/database/filters/filters.d.ts +6 -0
- package/backend/dist/cjs/backend/src/database/filters/filters.js +15 -0
- package/backend/dist/cjs/backend/src/database/filters/strict_filter.d.ts +223 -0
- package/backend/dist/cjs/backend/src/database/filters/strict_filter.js +15 -0
- package/backend/dist/cjs/backend/src/database/filters/strict_filter_test.js +443 -0
- package/backend/dist/cjs/backend/src/database/filters/strict_filter_test_v0.js +15 -0
- package/backend/dist/cjs/backend/src/database/filters/strict_filter_v0.d.ts +50 -0
- package/backend/dist/cjs/backend/src/database/filters/strict_filter_v0.js +15 -0
- package/backend/dist/cjs/backend/src/database/filters/strict_filter_v1.d.ts +76 -0
- package/backend/dist/cjs/backend/src/database/filters/strict_filter_v1.js +15 -0
- package/backend/dist/cjs/backend/src/database/filters/strict_filter_v2.d.ts +75 -0
- package/backend/dist/cjs/backend/src/database/filters/strict_filter_v2.js +15 -0
- package/backend/dist/cjs/backend/src/database/filters/strict_filter_v3.d.ts +219 -0
- package/backend/dist/cjs/backend/src/database/filters/strict_filter_v3.js +15 -0
- package/backend/dist/cjs/backend/src/database/filters/strict_update_filter.d.ts +165 -0
- package/backend/dist/cjs/backend/src/database/filters/strict_update_filter.js +15 -0
- package/backend/dist/cjs/backend/src/database/filters/strict_update_filter_test.d.ts +5 -0
- package/backend/dist/cjs/backend/src/database/filters/strict_update_filter_test.js +355 -0
- package/backend/dist/cjs/backend/src/database/flatten.d.ts +75 -0
- package/backend/dist/cjs/{logger.js → backend/src/database/flatten.js} +18 -7
- package/backend/dist/cjs/backend/src/database/flatten_test.js +175 -0
- package/backend/dist/cjs/backend/src/database/quota/quota.d.ts +461 -0
- package/backend/dist/cjs/backend/src/database/quota/quota.js +1014 -0
- package/backend/dist/cjs/backend/src/database/quota/quota_v1.d.ts +534 -0
- package/backend/dist/cjs/backend/src/database/quota/quota_v1.js +1087 -0
- package/backend/dist/cjs/backend/src/database/quota/safe_int.d.ts +293 -0
- package/backend/dist/cjs/backend/src/database/quota/safe_int.js +573 -0
- package/backend/dist/{esm → cjs/backend/src}/endpoint.d.ts +69 -46
- package/backend/dist/cjs/{endpoint.js → backend/src/endpoint.js} +87 -101
- package/backend/dist/cjs/backend/src/errors/index.d.ts +7 -0
- package/backend/dist/cjs/backend/src/errors/index.js +25 -0
- package/backend/dist/{esm/utils.d.ts → cjs/backend/src/errors/internal_external.d.ts} +14 -22
- package/backend/dist/cjs/backend/src/errors/internal_external.js +85 -0
- package/backend/dist/cjs/backend/src/errors/invalid_usage_error.d.ts +38 -0
- package/backend/dist/cjs/{mutex.js → backend/src/errors/invalid_usage_error.js} +20 -37
- package/backend/dist/cjs/backend/src/errors/system_error.d.ts +230 -0
- package/backend/dist/cjs/backend/src/errors/system_error.js +393 -0
- package/backend/dist/cjs/backend/src/events.d.ts +54 -0
- package/backend/dist/cjs/backend/src/events.js +15 -0
- package/backend/dist/cjs/{frontend.js → backend/src/frontend.js} +1 -1
- package/backend/dist/cjs/{image_endpoint.d.ts → backend/src/image_endpoint.d.ts} +16 -1
- package/backend/dist/cjs/{image_endpoint.js → backend/src/image_endpoint.js} +3 -5
- package/backend/dist/cjs/backend/src/logger.d.ts +5 -0
- package/backend/dist/cjs/backend/src/logger.js +15 -0
- package/backend/dist/cjs/backend/src/meta.d.ts +64 -0
- package/backend/dist/cjs/{meta.js → backend/src/meta.js} +9 -12
- package/backend/dist/cjs/backend/src/payments/paddle.d.ts +326 -0
- package/backend/dist/cjs/{payments → backend/src/payments}/paddle.js +377 -327
- package/backend/dist/cjs/backend/src/plugins/browser.d.ts +1 -0
- package/backend/dist/cjs/backend/src/plugins/browser.js +15 -0
- package/backend/dist/cjs/backend/src/plugins/mail/mail.d.ts +248 -0
- package/backend/dist/cjs/backend/src/plugins/mail/mail.js +379 -0
- package/backend/dist/{esm → cjs/backend/src}/plugins/mail/ui.d.ts +23 -0
- package/backend/dist/cjs/backend/src/plugins/pdf.d.ts +1 -0
- package/backend/dist/cjs/backend/src/rate_limit.d.ts +145 -0
- package/backend/dist/cjs/backend/src/rate_limit.js +549 -0
- package/backend/dist/cjs/{route.d.ts → backend/src/route.d.ts} +3 -10
- package/backend/dist/cjs/{route.js → backend/src/route.js} +23 -21
- package/backend/dist/cjs/backend/src/server.d.ts +485 -0
- package/backend/dist/cjs/{server.js → backend/src/server.js} +688 -873
- package/backend/dist/cjs/backend/src/splash_screen.d.ts +80 -0
- package/backend/dist/cjs/{splash_screen.js → backend/src/splash_screen.js} +24 -3
- package/backend/dist/cjs/backend/src/status.d.ts +74 -0
- package/backend/dist/cjs/{status.js → backend/src/status.js} +64 -64
- package/backend/dist/cjs/backend/src/stream.d.ts +376 -0
- package/backend/dist/cjs/{stream.js → backend/src/stream.js} +299 -276
- package/backend/dist/cjs/backend/src/users.d.ts +807 -0
- package/backend/dist/cjs/backend/src/users.js +1971 -0
- package/backend/dist/cjs/backend/src/utils.d.ts +16 -0
- package/backend/dist/cjs/{utils.js → backend/src/utils.js} +14 -77
- package/backend/dist/{esm → cjs/backend/src}/view.d.ts +33 -11
- package/backend/dist/cjs/backend/src/view.js +508 -0
- package/backend/dist/{esm → cjs/backend/src}/volt.d.ts +10 -1
- package/backend/dist/cjs/{volt.js → backend/src/volt.js} +8 -5
- package/backend/dist/cjs/frontend/src/modules/request.d.ts +70 -0
- package/backend/dist/cjs/frontend/src/modules/request.js +99 -0
- package/backend/dist/esm/{blacklist.d.ts → backend/src/blacklist.d.ts} +5 -3
- package/backend/dist/esm/{blacklist.js → backend/src/blacklist.js} +9 -6
- package/backend/dist/esm/{cli.js → backend/src/cli.js} +43 -60
- package/backend/dist/esm/backend/src/database/collection.d.ts +1543 -0
- package/backend/dist/esm/backend/src/database/collection.js +3510 -0
- package/backend/dist/esm/backend/src/database/database.d.ts +66 -0
- package/backend/dist/esm/{database → backend/src/database}/database.js +62 -103
- package/backend/dist/esm/backend/src/database/document.d.ts +1 -0
- package/backend/dist/esm/backend/src/database/document.js +558 -0
- package/backend/dist/esm/backend/src/database/filters/filters.d.ts +6 -0
- package/backend/dist/esm/backend/src/database/filters/filters.js +1 -0
- package/backend/dist/esm/backend/src/database/filters/strict_filter.d.ts +223 -0
- package/backend/dist/esm/backend/src/database/filters/strict_filter.js +3 -0
- package/backend/dist/esm/backend/src/database/filters/strict_filter_test.d.ts +1 -0
- package/backend/dist/esm/backend/src/database/filters/strict_filter_test.js +505 -0
- package/backend/dist/esm/backend/src/database/filters/strict_filter_test_v0.d.ts +1 -0
- package/backend/dist/esm/backend/src/database/filters/strict_filter_test_v0.js +712 -0
- package/backend/dist/esm/backend/src/database/filters/strict_filter_v0.d.ts +50 -0
- package/backend/dist/esm/backend/src/database/filters/strict_filter_v0.js +5 -0
- package/backend/dist/esm/backend/src/database/filters/strict_filter_v1.d.ts +76 -0
- package/backend/dist/esm/backend/src/database/filters/strict_filter_v1.js +44 -0
- package/backend/dist/esm/backend/src/database/filters/strict_filter_v2.d.ts +75 -0
- package/backend/dist/esm/backend/src/database/filters/strict_filter_v2.js +5 -0
- package/backend/dist/esm/backend/src/database/filters/strict_filter_v3.d.ts +219 -0
- package/backend/dist/esm/backend/src/database/filters/strict_filter_v3.js +1 -0
- package/backend/dist/esm/backend/src/database/filters/strict_update_filter.d.ts +165 -0
- package/backend/dist/esm/backend/src/database/filters/strict_update_filter.js +5 -0
- package/backend/dist/esm/backend/src/database/filters/strict_update_filter_test.d.ts +5 -0
- package/backend/dist/esm/backend/src/database/filters/strict_update_filter_test.js +405 -0
- package/backend/dist/esm/backend/src/database/flatten.d.ts +75 -0
- package/backend/dist/esm/backend/src/database/flatten.js +22 -0
- package/backend/dist/esm/backend/src/database/flatten_test.d.ts +1 -0
- package/backend/dist/esm/backend/src/database/flatten_test.js +174 -0
- package/backend/dist/esm/backend/src/database/quota/quota.d.ts +461 -0
- package/backend/dist/esm/backend/src/database/quota/quota.js +1118 -0
- package/backend/dist/esm/backend/src/database/quota/quota_v1.d.ts +534 -0
- package/backend/dist/esm/backend/src/database/quota/quota_v1.js +1242 -0
- package/backend/dist/esm/backend/src/database/quota/safe_int.d.ts +293 -0
- package/backend/dist/esm/backend/src/database/quota/safe_int.js +602 -0
- package/backend/dist/{cjs → esm/backend/src}/endpoint.d.ts +69 -46
- package/backend/dist/esm/{endpoint.js → backend/src/endpoint.js} +136 -127
- package/backend/dist/esm/backend/src/errors/index.d.ts +7 -0
- package/backend/dist/esm/backend/src/errors/index.js +7 -0
- package/backend/dist/{cjs/utils.d.ts → esm/backend/src/errors/internal_external.d.ts} +14 -22
- package/backend/dist/esm/backend/src/errors/internal_external.js +70 -0
- package/backend/dist/esm/backend/src/errors/invalid_usage_error.d.ts +38 -0
- package/backend/dist/esm/backend/src/errors/invalid_usage_error.js +30 -0
- package/backend/dist/esm/backend/src/errors/system_error.d.ts +230 -0
- package/backend/dist/esm/backend/src/errors/system_error.js +402 -0
- package/backend/dist/esm/backend/src/events.d.ts +54 -0
- package/backend/dist/esm/backend/src/events.js +5 -0
- package/backend/dist/esm/{frontend.js → backend/src/frontend.js} +1 -1
- package/backend/dist/esm/{image_endpoint.d.ts → backend/src/image_endpoint.d.ts} +16 -1
- package/backend/dist/esm/{image_endpoint.js → backend/src/image_endpoint.js} +16 -20
- package/backend/dist/esm/backend/src/logger.d.ts +5 -0
- package/backend/dist/esm/backend/src/logger.js +8 -0
- package/backend/dist/esm/backend/src/meta.d.ts +64 -0
- package/backend/dist/esm/{meta.js → backend/src/meta.js} +15 -54
- package/backend/dist/esm/backend/src/payments/paddle.d.ts +326 -0
- package/backend/dist/esm/{payments → backend/src/payments}/paddle.js +417 -452
- package/backend/dist/esm/backend/src/plugins/browser.d.ts +1 -0
- package/backend/dist/esm/backend/src/plugins/browser.js +170 -0
- package/backend/dist/esm/backend/src/plugins/mail/mail.d.ts +248 -0
- package/backend/dist/esm/backend/src/plugins/mail/mail.js +389 -0
- package/backend/dist/{cjs → esm/backend/src}/plugins/mail/ui.d.ts +23 -0
- package/backend/dist/esm/{plugins → backend/src/plugins}/mail/ui.js +3 -6
- package/backend/dist/esm/backend/src/plugins/pdf.d.ts +1 -0
- package/backend/dist/esm/{plugins → backend/src/plugins}/pdf.js +3 -3
- package/backend/dist/esm/backend/src/rate_limit.d.ts +145 -0
- package/backend/dist/esm/backend/src/rate_limit.js +667 -0
- package/backend/dist/esm/{route.d.ts → backend/src/route.d.ts} +3 -10
- package/backend/dist/esm/{route.js → backend/src/route.js} +26 -21
- package/backend/dist/esm/backend/src/server.d.ts +485 -0
- package/backend/dist/esm/{server.js → backend/src/server.js} +891 -1441
- package/backend/dist/esm/backend/src/splash_screen.d.ts +80 -0
- package/backend/dist/esm/{splash_screen.js → backend/src/splash_screen.js} +42 -55
- package/backend/dist/esm/backend/src/status.d.ts +74 -0
- package/backend/dist/esm/backend/src/status.js +199 -0
- package/backend/dist/esm/backend/src/stream.d.ts +376 -0
- package/backend/dist/esm/{stream.js → backend/src/stream.js} +327 -292
- package/backend/dist/esm/backend/src/users.d.ts +809 -0
- package/backend/dist/esm/backend/src/users.js +2140 -0
- package/backend/dist/esm/backend/src/utils.d.ts +16 -0
- package/backend/dist/esm/{utils.js → backend/src/utils.js} +20 -81
- package/backend/dist/{cjs → esm/backend/src}/view.d.ts +33 -11
- package/backend/dist/esm/{view.js → backend/src/view.js} +266 -86
- package/backend/dist/{cjs → esm/backend/src}/volt.d.ts +10 -1
- package/backend/dist/esm/{volt.js → backend/src/volt.js} +7 -4
- package/backend/dist/esm/frontend/src/modules/request.d.ts +70 -0
- package/backend/dist/esm/frontend/src/modules/request.js +117 -0
- package/frontend/dist/backend/src/database/collection.d.ts +1543 -0
- package/frontend/dist/backend/src/database/collection.js +3510 -0
- package/frontend/dist/backend/src/database/database.d.ts +66 -0
- package/frontend/dist/backend/src/database/database.js +196 -0
- package/frontend/dist/backend/src/database/filters/filters.d.ts +6 -0
- package/frontend/dist/backend/src/database/filters/filters.js +1 -0
- package/frontend/dist/backend/src/database/filters/strict_filter.d.ts +223 -0
- package/frontend/dist/backend/src/database/filters/strict_filter.js +3 -0
- package/frontend/dist/backend/src/database/filters/strict_update_filter.d.ts +165 -0
- package/frontend/dist/backend/src/database/filters/strict_update_filter.js +5 -0
- package/frontend/dist/backend/src/database/flatten.d.ts +75 -0
- package/frontend/dist/backend/src/database/flatten.js +22 -0
- package/frontend/dist/backend/src/endpoint.d.ts +204 -0
- package/frontend/dist/backend/src/endpoint.js +570 -0
- package/frontend/dist/backend/src/errors/index.d.ts +7 -0
- package/frontend/dist/backend/src/errors/index.js +7 -0
- package/frontend/dist/backend/src/errors/internal_external.d.ts +38 -0
- package/frontend/dist/backend/src/errors/internal_external.js +70 -0
- package/frontend/dist/backend/src/errors/invalid_usage_error.d.ts +38 -0
- package/frontend/dist/backend/src/errors/invalid_usage_error.js +30 -0
- package/frontend/dist/backend/src/errors/system_error.d.ts +230 -0
- package/frontend/dist/backend/src/errors/system_error.js +402 -0
- package/frontend/dist/backend/src/events.d.ts +54 -0
- package/frontend/dist/backend/src/events.js +5 -0
- package/frontend/dist/backend/src/frontend.d.ts +11 -0
- package/frontend/dist/backend/src/frontend.js +12 -0
- package/frontend/dist/backend/src/image_endpoint.d.ts +39 -0
- package/frontend/dist/backend/src/image_endpoint.js +202 -0
- package/frontend/dist/backend/src/meta.d.ts +64 -0
- package/frontend/dist/backend/src/meta.js +110 -0
- package/frontend/dist/backend/src/payments/paddle.d.ts +326 -0
- package/frontend/dist/backend/src/payments/paddle.js +2256 -0
- package/frontend/dist/backend/src/plugins/mail/mail.d.ts +248 -0
- package/frontend/dist/backend/src/plugins/mail/mail.js +389 -0
- package/{backend/dist/esm/plugins/mail.d.ts → frontend/dist/backend/src/plugins/mail/ui.d.ts} +23 -0
- package/{backend/dist/esm/plugins/mail.js → frontend/dist/backend/src/plugins/mail/ui.js} +3 -6
- package/frontend/dist/backend/src/rate_limit.d.ts +145 -0
- package/frontend/dist/backend/src/rate_limit.js +673 -0
- package/frontend/dist/backend/src/route.d.ts +35 -0
- package/frontend/dist/backend/src/route.js +212 -0
- package/frontend/dist/backend/src/server.d.ts +485 -0
- package/frontend/dist/backend/src/server.js +2670 -0
- package/frontend/dist/backend/src/splash_screen.d.ts +80 -0
- package/frontend/dist/backend/src/splash_screen.js +135 -0
- package/frontend/dist/backend/src/status.d.ts +74 -0
- package/frontend/dist/backend/src/status.js +199 -0
- package/frontend/dist/backend/src/stream.d.ts +376 -0
- package/frontend/dist/backend/src/stream.js +1007 -0
- package/frontend/dist/backend/src/users.d.ts +807 -0
- package/frontend/dist/backend/src/users.js +2118 -0
- package/frontend/dist/backend/src/utils.d.ts +16 -0
- package/frontend/dist/backend/src/utils.js +241 -0
- package/frontend/dist/backend/src/view.d.ts +162 -0
- package/frontend/dist/backend/src/view.js +720 -0
- package/frontend/dist/frontend/src/elements/base.d.ts +4414 -0
- package/frontend/dist/{elements → frontend/src/elements}/base.js +3624 -260
- package/frontend/dist/frontend/src/elements/module.d.ts +95 -0
- package/frontend/dist/{elements → frontend/src/elements}/module.js +53 -52
- package/frontend/dist/frontend/src/elements/types.d.ts +52 -0
- package/frontend/dist/frontend/src/elements/types.js +5 -0
- package/frontend/dist/frontend/src/modules/attachment.d.ts +126 -0
- package/frontend/dist/frontend/src/modules/attachment.js +306 -0
- package/frontend/dist/frontend/src/modules/auth.d.ts +44 -0
- package/frontend/dist/frontend/src/modules/auth.js +80 -0
- package/frontend/dist/{modules → frontend/src/modules}/color.js +2 -2
- package/frontend/dist/frontend/src/modules/compression.d.ts +39 -0
- package/frontend/dist/frontend/src/modules/compression.js +102 -0
- package/frontend/dist/frontend/src/modules/cookies.d.ts +44 -0
- package/frontend/dist/frontend/src/modules/cookies.js +143 -0
- package/frontend/dist/frontend/src/modules/events.d.ts +31 -0
- package/frontend/dist/frontend/src/modules/events.js +74 -0
- package/frontend/dist/frontend/src/modules/google.d.ts +23 -0
- package/frontend/dist/frontend/src/modules/google.js +52 -0
- package/frontend/dist/frontend/src/modules/meta.d.ts +14 -0
- package/frontend/dist/{modules → frontend/src/modules}/meta.js +9 -7
- package/frontend/dist/{modules → frontend/src/modules}/paddle.d.ts +37 -134
- package/frontend/dist/{modules → frontend/src/modules}/paddle.js +620 -568
- package/frontend/dist/frontend/src/modules/request.d.ts +70 -0
- package/frontend/dist/frontend/src/modules/request.js +117 -0
- package/frontend/dist/frontend/src/modules/settings.d.ts +3 -0
- package/frontend/dist/frontend/src/modules/settings.js +5 -0
- package/frontend/dist/frontend/src/modules/statics.d.ts +21 -0
- package/frontend/dist/{modules → frontend/src/modules}/statics.js +15 -18
- package/frontend/dist/frontend/src/modules/support.d.ts +30 -0
- package/frontend/dist/frontend/src/modules/support.js +53 -0
- package/frontend/dist/{modules → frontend/src/modules}/theme.d.ts +67 -0
- package/frontend/dist/{modules → frontend/src/modules}/theme.js +68 -38
- package/frontend/dist/frontend/src/modules/themes.d.ts +12 -0
- package/frontend/dist/frontend/src/modules/themes.js +22 -0
- package/frontend/dist/frontend/src/modules/user.d.ts +164 -0
- package/frontend/dist/frontend/src/modules/user.js +268 -0
- package/frontend/dist/frontend/src/modules/utils.d.ts +176 -0
- package/frontend/dist/frontend/src/modules/utils.js +569 -0
- package/frontend/dist/frontend/src/types/gradient.d.ts +29 -0
- package/frontend/dist/{types → frontend/src/types}/gradient.js +14 -18
- package/frontend/dist/frontend/src/ui/border_button.d.ts +94 -0
- package/frontend/dist/{ui → frontend/src/ui}/border_button.js +7 -13
- package/frontend/dist/frontend/src/ui/button.d.ts +28 -0
- package/frontend/dist/{ui → frontend/src/ui}/button.js +21 -12
- package/frontend/dist/frontend/src/ui/canvas.d.ts +138 -0
- package/frontend/dist/{ui → frontend/src/ui}/canvas.js +88 -55
- package/frontend/dist/frontend/src/ui/checkbox.d.ts +74 -0
- package/frontend/dist/{ui → frontend/src/ui}/checkbox.js +80 -41
- package/frontend/dist/{ui → frontend/src/ui}/code.d.ts +73 -6
- package/frontend/dist/{ui → frontend/src/ui}/code.js +55 -52
- package/frontend/dist/{ui → frontend/src/ui}/context_menu.d.ts +4 -0
- package/frontend/dist/{ui → frontend/src/ui}/context_menu.js +12 -17
- package/frontend/dist/{ui → frontend/src/ui}/css.d.ts +4 -0
- package/frontend/dist/{ui → frontend/src/ui}/css.js +3 -3
- package/frontend/dist/{ui → frontend/src/ui}/divider.d.ts +4 -0
- package/frontend/dist/{ui → frontend/src/ui}/divider.js +3 -3
- package/frontend/dist/{ui → frontend/src/ui}/dropdown.d.ts +57 -2
- package/frontend/dist/{ui → frontend/src/ui}/dropdown.js +87 -94
- package/frontend/dist/{ui → frontend/src/ui}/for_each.d.ts +4 -0
- package/frontend/dist/{ui → frontend/src/ui}/for_each.js +3 -3
- package/frontend/dist/{ui → frontend/src/ui}/form.d.ts +6 -2
- package/frontend/dist/{ui → frontend/src/ui}/form.js +10 -7
- package/frontend/dist/frontend/src/ui/frame_modes.d.ts +37 -0
- package/frontend/dist/{ui → frontend/src/ui}/frame_modes.js +16 -22
- package/frontend/dist/{ui → frontend/src/ui}/google_map.d.ts +4 -0
- package/frontend/dist/{ui → frontend/src/ui}/google_map.js +4 -4
- package/frontend/dist/{ui → frontend/src/ui}/gradient.d.ts +4 -0
- package/frontend/dist/{ui → frontend/src/ui}/gradient.js +3 -3
- package/frontend/dist/{ui → frontend/src/ui}/image.d.ts +4 -0
- package/frontend/dist/{ui → frontend/src/ui}/image.js +5 -5
- package/frontend/dist/frontend/src/ui/input.d.ts +392 -0
- package/frontend/dist/{ui → frontend/src/ui}/input.js +346 -360
- package/frontend/dist/{ui → frontend/src/ui}/link.d.ts +4 -0
- package/frontend/dist/{ui → frontend/src/ui}/link.js +3 -3
- package/frontend/dist/{ui → frontend/src/ui}/list.d.ts +4 -0
- package/frontend/dist/{ui → frontend/src/ui}/list.js +12 -6
- package/frontend/dist/frontend/src/ui/loader_button.d.ts +80 -0
- package/frontend/dist/{ui → frontend/src/ui}/loader_button.js +35 -47
- package/frontend/dist/frontend/src/ui/loaders.d.ts +57 -0
- package/frontend/dist/{ui → frontend/src/ui}/loaders.js +11 -11
- package/frontend/dist/{ui → frontend/src/ui}/popup.d.ts +11 -6
- package/frontend/dist/{ui → frontend/src/ui}/popup.js +32 -18
- package/frontend/dist/frontend/src/ui/pseudo.d.ts +44 -0
- package/frontend/dist/{ui → frontend/src/ui}/pseudo.js +84 -8
- package/frontend/dist/{ui → frontend/src/ui}/scroller.d.ts +14 -2
- package/frontend/dist/{ui → frontend/src/ui}/scroller.js +37 -43
- package/frontend/dist/{ui → frontend/src/ui}/slider.d.ts +5 -1
- package/frontend/dist/{ui → frontend/src/ui}/slider.js +4 -4
- package/frontend/dist/{ui → frontend/src/ui}/spacer.d.ts +4 -0
- package/frontend/dist/{ui → frontend/src/ui}/spacer.js +3 -3
- package/frontend/dist/{ui → frontend/src/ui}/span.d.ts +4 -0
- package/frontend/dist/{ui → frontend/src/ui}/span.js +3 -3
- package/frontend/dist/{ui → frontend/src/ui}/stack.d.ts +4 -0
- package/frontend/dist/{ui → frontend/src/ui}/stack.js +3 -9
- package/frontend/dist/frontend/src/ui/steps.d.ts +131 -0
- package/frontend/dist/{ui → frontend/src/ui}/steps.js +30 -45
- package/frontend/dist/{ui → frontend/src/ui}/style.d.ts +4 -0
- package/frontend/dist/{ui → frontend/src/ui}/style.js +3 -3
- package/frontend/dist/{ui → frontend/src/ui}/switch.d.ts +5 -1
- package/frontend/dist/{ui → frontend/src/ui}/switch.js +4 -4
- package/frontend/dist/{ui → frontend/src/ui}/table.d.ts +4 -0
- package/frontend/dist/{ui → frontend/src/ui}/table.js +6 -6
- package/frontend/dist/{ui → frontend/src/ui}/tabs.d.ts +45 -3
- package/frontend/dist/{ui → frontend/src/ui}/tabs.js +65 -40
- package/frontend/dist/{ui → frontend/src/ui}/text.d.ts +4 -0
- package/frontend/dist/{ui → frontend/src/ui}/text.js +3 -3
- package/frontend/dist/frontend/src/ui/title.d.ts +91 -0
- package/frontend/dist/frontend/src/ui/title.js +272 -0
- package/frontend/dist/{ui → frontend/src/ui}/view.d.ts +4 -0
- package/frontend/dist/{ui → frontend/src/ui}/view.js +3 -3
- package/frontend/dist/{volt.d.ts → frontend/src/volt.d.ts} +3 -0
- package/frontend/dist/{volt.js → frontend/src/volt.js} +4 -0
- package/frontend/tools/bundle_d_ts.js +71 -0
- package/frontend/tools/convert_to_jsdoc_input.txt +9452 -0
- package/frontend/tools/convert_to_jsdoc_output.txt +7626 -0
- package/frontend/tools/convert_to_jsdoc_tmp.js +345 -0
- package/package.json +11 -12
- package/backend/dist/cjs/database/collection.d.ts +0 -160
- package/backend/dist/cjs/database/collection.js +0 -842
- package/backend/dist/cjs/database/database.d.ts +0 -121
- package/backend/dist/cjs/database/document.d.ts +0 -131
- package/backend/dist/cjs/database/document.js +0 -224
- package/backend/dist/cjs/database.d.ts +0 -502
- package/backend/dist/cjs/database.js +0 -2248
- package/backend/dist/cjs/logger.d.ts +0 -3
- package/backend/dist/cjs/meta.d.ts +0 -50
- package/backend/dist/cjs/mutex.d.ts +0 -24
- package/backend/dist/cjs/payments/paddle.d.ts +0 -160
- package/backend/dist/cjs/plugins/browser.d.ts +0 -36
- package/backend/dist/cjs/plugins/browser.js +0 -198
- package/backend/dist/cjs/plugins/css.d.ts +0 -11
- package/backend/dist/cjs/plugins/css.js +0 -80
- package/backend/dist/cjs/plugins/mail.d.ts +0 -277
- package/backend/dist/cjs/plugins/mail.js +0 -1370
- package/backend/dist/cjs/plugins/ts/compiler.d.ts +0 -139
- package/backend/dist/cjs/plugins/ts/compiler.js +0 -750
- package/backend/dist/cjs/plugins/ts/preprocessing.d.ts +0 -14
- package/backend/dist/cjs/plugins/ts/preprocessing.js +0 -440
- package/backend/dist/cjs/rate_limit.d.ts +0 -63
- package/backend/dist/cjs/rate_limit.js +0 -348
- package/backend/dist/cjs/request.deprc.d.ts +0 -48
- package/backend/dist/cjs/request.deprc.js +0 -572
- package/backend/dist/cjs/response.deprc.d.ts +0 -55
- package/backend/dist/cjs/response.deprc.js +0 -275
- package/backend/dist/cjs/server.d.ts +0 -342
- package/backend/dist/cjs/splash_screen.d.ts +0 -35
- package/backend/dist/cjs/status.d.ts +0 -61
- package/backend/dist/cjs/stream.d.ts +0 -79
- package/backend/dist/cjs/users.d.ts +0 -111
- package/backend/dist/cjs/users.js +0 -1817
- package/backend/dist/cjs/view.js +0 -352
- package/backend/dist/cjs/vinc.dev.d.ts +0 -3
- package/backend/dist/cjs/vinc.dev.js +0 -7
- package/backend/dist/css/adyen.css +0 -92
- package/backend/dist/css/volt.css +0 -70
- package/backend/dist/esm/database/collection.d.ts +0 -160
- package/backend/dist/esm/database/collection.js +0 -1328
- package/backend/dist/esm/database/database.d.ts +0 -121
- package/backend/dist/esm/database/document.d.ts +0 -131
- package/backend/dist/esm/database/document.js +0 -247
- package/backend/dist/esm/database.d.ts +0 -502
- package/backend/dist/esm/database.js +0 -2423
- package/backend/dist/esm/file_watcher.js +0 -329
- package/backend/dist/esm/logger.d.ts +0 -3
- package/backend/dist/esm/logger.js +0 -11
- package/backend/dist/esm/meta.d.ts +0 -50
- package/backend/dist/esm/mutex.d.ts +0 -24
- package/backend/dist/esm/mutex.js +0 -48
- package/backend/dist/esm/payments/paddle.d.ts +0 -160
- package/backend/dist/esm/plugins/browser.d.ts +0 -36
- package/backend/dist/esm/plugins/browser.js +0 -176
- package/backend/dist/esm/plugins/css.d.ts +0 -11
- package/backend/dist/esm/plugins/css.js +0 -90
- package/backend/dist/esm/plugins/ts/compiler.d.ts +0 -139
- package/backend/dist/esm/plugins/ts/compiler.js +0 -1194
- package/backend/dist/esm/plugins/ts/preprocessing.d.ts +0 -14
- package/backend/dist/esm/plugins/ts/preprocessing.js +0 -726
- package/backend/dist/esm/rate_limit.d.ts +0 -63
- package/backend/dist/esm/rate_limit.js +0 -417
- package/backend/dist/esm/request.deprc.d.ts +0 -48
- package/backend/dist/esm/request.deprc.js +0 -572
- package/backend/dist/esm/response.deprc.d.ts +0 -55
- package/backend/dist/esm/response.deprc.js +0 -275
- package/backend/dist/esm/server.d.ts +0 -342
- package/backend/dist/esm/splash_screen.d.ts +0 -35
- package/backend/dist/esm/status.d.ts +0 -61
- package/backend/dist/esm/status.js +0 -197
- package/backend/dist/esm/stream.d.ts +0 -79
- package/backend/dist/esm/users.d.ts +0 -111
- package/backend/dist/esm/users.js +0 -1935
- package/backend/dist/esm/vinc.dev.d.ts +0 -3
- package/backend/dist/esm/vinc.dev.js +0 -7
- package/frontend/dist/elements/base.d.ts +0 -9889
- package/frontend/dist/elements/module.d.ts +0 -30
- package/frontend/dist/modules/array.d.ts +0 -94
- package/frontend/dist/modules/array.js +0 -634
- package/frontend/dist/modules/auth.d.ts +0 -46
- package/frontend/dist/modules/auth.js +0 -139
- package/frontend/dist/modules/colors.d.ts +0 -1
- package/frontend/dist/modules/colors.js +0 -417
- package/frontend/dist/modules/compression.d.ts +0 -6
- package/frontend/dist/modules/compression.js +0 -999
- package/frontend/dist/modules/cookies.d.ts +0 -18
- package/frontend/dist/modules/cookies.js +0 -167
- package/frontend/dist/modules/date.d.ts +0 -142
- package/frontend/dist/modules/date.js +0 -493
- package/frontend/dist/modules/events.d.ts +0 -8
- package/frontend/dist/modules/events.js +0 -91
- package/frontend/dist/modules/google.d.ts +0 -11
- package/frontend/dist/modules/google.js +0 -54
- package/frontend/dist/modules/meta.d.ts +0 -10
- package/frontend/dist/modules/mutex.d.ts +0 -7
- package/frontend/dist/modules/mutex.js +0 -51
- package/frontend/dist/modules/number.d.ts +0 -16
- package/frontend/dist/modules/number.js +0 -23
- package/frontend/dist/modules/object.d.ts +0 -52
- package/frontend/dist/modules/object.js +0 -383
- package/frontend/dist/modules/scheme.d.ts +0 -227
- package/frontend/dist/modules/scheme.js +0 -531
- package/frontend/dist/modules/settings.d.ts +0 -3
- package/frontend/dist/modules/settings.js +0 -4
- package/frontend/dist/modules/statics.d.ts +0 -5
- package/frontend/dist/modules/string.d.ts +0 -124
- package/frontend/dist/modules/string.js +0 -745
- package/frontend/dist/modules/support.d.ts +0 -19
- package/frontend/dist/modules/support.js +0 -103
- package/frontend/dist/modules/themes.d.ts +0 -8
- package/frontend/dist/modules/themes.js +0 -18
- package/frontend/dist/modules/user.d.ts +0 -59
- package/frontend/dist/modules/user.js +0 -280
- package/frontend/dist/modules/utils.d.ts +0 -87
- package/frontend/dist/modules/utils.js +0 -923
- package/frontend/dist/types/gradient.d.ts +0 -12
- package/frontend/dist/ui/border_button.d.ts +0 -152
- package/frontend/dist/ui/button.d.ts +0 -21
- package/frontend/dist/ui/canvas.d.ts +0 -56
- package/frontend/dist/ui/checkbox.d.ts +0 -52
- package/frontend/dist/ui/frame_modes.d.ts +0 -25
- package/frontend/dist/ui/input.d.ts +0 -241
- package/frontend/dist/ui/loader_button.d.ts +0 -93
- package/frontend/dist/ui/loaders.d.ts +0 -57
- package/frontend/dist/ui/pseudo.d.ts +0 -16
- package/frontend/dist/ui/steps.d.ts +0 -59
- package/frontend/dist/ui/title.d.ts +0 -21
- package/frontend/dist/ui/title.js +0 -121
- package/frontend/examples/dashboard/dashboard.ts +0 -776
- /package/backend/dist/cjs/{cli.d.ts → backend/src/cli.d.ts} +0 -0
- /package/backend/dist/cjs/{file_watcher.d.ts → backend/src/database/document.d.ts} +0 -0
- /package/backend/dist/cjs/{file_watcher.js → backend/src/database/document.js} +0 -0
- /package/backend/dist/cjs/{plugins/pdf.d.ts → backend/src/database/filters/strict_filter_test.d.ts} +0 -0
- /package/backend/dist/{esm/file_watcher.d.ts → cjs/backend/src/database/filters/strict_filter_test_v0.d.ts} +0 -0
- /package/backend/dist/{esm/plugins/pdf.d.ts → cjs/backend/src/database/flatten_test.d.ts} +0 -0
- /package/backend/dist/cjs/{frontend.d.ts → backend/src/frontend.d.ts} +0 -0
- /package/backend/dist/cjs/{plugins → backend/src/plugins}/communication.d.ts +0 -0
- /package/backend/dist/cjs/{plugins → backend/src/plugins}/communication.js +0 -0
- /package/backend/dist/cjs/{plugins → backend/src/plugins}/mail/ui.js +0 -0
- /package/backend/dist/cjs/{plugins → backend/src/plugins}/pdf.js +0 -0
- /package/backend/dist/cjs/{plugins → backend/src/plugins}/thread_monitor.d.ts +0 -0
- /package/backend/dist/cjs/{plugins → backend/src/plugins}/thread_monitor.js +0 -0
- /package/backend/dist/cjs/{vinc.d.ts → backend/src/vinc.d.ts} +0 -0
- /package/backend/dist/cjs/{vinc.js → backend/src/vinc.js} +0 -0
- /package/backend/dist/esm/{cli.d.ts → backend/src/cli.d.ts} +0 -0
- /package/backend/dist/esm/{frontend.d.ts → backend/src/frontend.d.ts} +0 -0
- /package/backend/dist/esm/{plugins → backend/src/plugins}/communication.d.ts +0 -0
- /package/backend/dist/esm/{plugins → backend/src/plugins}/communication.js +0 -0
- /package/backend/dist/esm/{plugins → backend/src/plugins}/thread_monitor.d.ts +0 -0
- /package/backend/dist/esm/{plugins → backend/src/plugins}/thread_monitor.js +0 -0
- /package/backend/dist/esm/{vinc.d.ts → backend/src/vinc.d.ts} +0 -0
- /package/backend/dist/esm/{vinc.js → backend/src/vinc.js} +0 -0
- /package/frontend/dist/{elements → frontend/src/elements}/register_element.d.ts +0 -0
- /package/frontend/dist/{elements → frontend/src/elements}/register_element.js +0 -0
- /package/frontend/dist/{modules → frontend/src/modules}/color.d.ts +0 -0
- /package/frontend/dist/{ui → frontend/src/ui}/ui.d.ts +0 -0
- /package/frontend/dist/{ui → frontend/src/ui}/ui.js +0 -0
|
@@ -0,0 +1,4414 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Daan van den Bergh
|
|
3
|
+
* @copyright © 2022 - 2025 Daan van den Bergh. All rights reserved.
|
|
4
|
+
*/
|
|
5
|
+
import { GradientType } from "../types/gradient.js";
|
|
6
|
+
import type { AnyElement } from "../ui/any_element.js";
|
|
7
|
+
import type { PseudoElement } from "../ui/pseudo.js";
|
|
8
|
+
import type { None, BorderOpts } from "./types.js";
|
|
9
|
+
import { Attachment } from "../modules/attachment.js";
|
|
10
|
+
declare global {
|
|
11
|
+
export interface VElementExtensions {
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
interface BaseVElementInitOptions {
|
|
15
|
+
derived: any;
|
|
16
|
+
default_style?: Record<string, any>;
|
|
17
|
+
default_attributes?: Record<string, any>;
|
|
18
|
+
default_events?: Record<string, any>;
|
|
19
|
+
}
|
|
20
|
+
interface DerivedVElementInitOptions {
|
|
21
|
+
derived?: any;
|
|
22
|
+
name?: string;
|
|
23
|
+
default_style?: Record<string, any>;
|
|
24
|
+
default_attributes?: Record<string, any>;
|
|
25
|
+
default_events?: Record<string, any>;
|
|
26
|
+
}
|
|
27
|
+
export type AppendType = null | undefined | string | Node | VElement | Function | AppendType[];
|
|
28
|
+
export type ElementCallback<This> = (element: This) => any;
|
|
29
|
+
export type ElementEvent<This> = (element: This, event: Event) => any;
|
|
30
|
+
export type ElementMouseEvent<This> = (element: This, event: MouseEvent) => any;
|
|
31
|
+
export type ElementDragEvent<This> = (element: This, event: MouseEvent) => any;
|
|
32
|
+
export type ElementKeyboardEvent<This> = (element: This, event: KeyboardEvent) => any;
|
|
33
|
+
export type ThemeUpdateCallback<This> = (element: This) => any;
|
|
34
|
+
export type OnAppearCallback<This> = (element: This, options: {
|
|
35
|
+
scroll_direction: string;
|
|
36
|
+
}) => any;
|
|
37
|
+
export type undefstrnr = null | undefined | string | number;
|
|
38
|
+
export declare abstract class VElement extends HTMLElement {
|
|
39
|
+
static element_tag: string;
|
|
40
|
+
static default_style: Record<string, any>;
|
|
41
|
+
static default_attributes: Record<string, any>;
|
|
42
|
+
static default_events: Record<string, any>;
|
|
43
|
+
/** Attachments added by the {@link on_attachment_drop} callback. */
|
|
44
|
+
attachments: Attachment[];
|
|
45
|
+
/** Is rendered flag. */
|
|
46
|
+
rendered: boolean;
|
|
47
|
+
/** The element name. */
|
|
48
|
+
element_name: string;
|
|
49
|
+
/** The base element name @internal */
|
|
50
|
+
base_element_name: string;
|
|
51
|
+
/** Remove focus method. */
|
|
52
|
+
remove_focus: HTMLElement["blur"];
|
|
53
|
+
__is_velement: boolean;
|
|
54
|
+
_v_children: any[];
|
|
55
|
+
_element_display: string;
|
|
56
|
+
_is_connected: boolean;
|
|
57
|
+
_on_append_callback?: Function;
|
|
58
|
+
_assign_to_parent_as?: string;
|
|
59
|
+
_parent?: any;
|
|
60
|
+
_side_by_side_basis?: number;
|
|
61
|
+
_animate_timeout?: ReturnType<typeof setTimeout>;
|
|
62
|
+
_is_button_disabled: boolean;
|
|
63
|
+
_timeouts: Record<string, any>;
|
|
64
|
+
_on_window_resize_timer: any;
|
|
65
|
+
_abs_parent: any;
|
|
66
|
+
_on_resize_rule_evals: Record<string, any>;
|
|
67
|
+
_observing_on_resize: boolean;
|
|
68
|
+
_observing_on_render: boolean;
|
|
69
|
+
_on_resize_callbacks: ElementCallback<this>[];
|
|
70
|
+
_on_render_callbacks: ElementCallback<this>[];
|
|
71
|
+
_on_theme_updates: ThemeUpdateCallback<this>[];
|
|
72
|
+
_on_mouse_leave_callback: ElementMouseEvent<this>;
|
|
73
|
+
_on_mouse_enter_callback: ElementMouseEvent<this>;
|
|
74
|
+
_on_shortcut_time: number;
|
|
75
|
+
_on_shortcut_key: string;
|
|
76
|
+
_on_shortcut_keycode: number;
|
|
77
|
+
_on_keypress_set: boolean;
|
|
78
|
+
_on_enter_callback?: ElementKeyboardEvent<this>;
|
|
79
|
+
_on_escape_callback?: ElementKeyboardEvent<this>;
|
|
80
|
+
_on_appear_callbacks: Record<string, any>[];
|
|
81
|
+
_media_queries: {
|
|
82
|
+
[key: string]: {
|
|
83
|
+
list: MediaQueryList;
|
|
84
|
+
callback: (query: MediaQueryList) => any;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
constructor();
|
|
88
|
+
/**
|
|
89
|
+
* @warning This method should only be used by the direct types declared in this file e.g. VSpanElement.
|
|
90
|
+
* @note This method is always called in the constructor of the base elements defined in VElementTagMap.
|
|
91
|
+
*/
|
|
92
|
+
protected _init_sys_velement(args: BaseVElementInitOptions): void;
|
|
93
|
+
/**
|
|
94
|
+
* @warning Any VElement (a derived class of VElementTagMap) must call this method in its constructor.
|
|
95
|
+
*/
|
|
96
|
+
protected _init(args: BaseVElementInitOptions): void;
|
|
97
|
+
connectedCallback(): void;
|
|
98
|
+
static is(type: any): type is VElement;
|
|
99
|
+
/**
|
|
100
|
+
* @docs:
|
|
101
|
+
* @title: Clone
|
|
102
|
+
* @desc: Creates a deep copy of the current element, including its styles and attributes.
|
|
103
|
+
* Optionally clones child nodes based on the provided parameter.
|
|
104
|
+
* @param:
|
|
105
|
+
* @name: clone_children
|
|
106
|
+
* @descr: Indicates whether to clone child nodes of the current element.
|
|
107
|
+
* @default: true
|
|
108
|
+
* @return:
|
|
109
|
+
* @description Returns a new instance of the element that is a clone of the current one.
|
|
110
|
+
*/
|
|
111
|
+
clone(clone_children?: boolean): this;
|
|
112
|
+
/**
|
|
113
|
+
* @docs:
|
|
114
|
+
* @title: Pad Numeric
|
|
115
|
+
* @desc: Pads a numeric value with a specified padding unit, defaulting to "px".
|
|
116
|
+
* @param:
|
|
117
|
+
* @name: value
|
|
118
|
+
* @descr: The numeric value to be padded.
|
|
119
|
+
* @param:
|
|
120
|
+
* @name: padding
|
|
121
|
+
* @descr: The unit to pad the numeric value with.
|
|
122
|
+
* @default: "px"
|
|
123
|
+
* @return:
|
|
124
|
+
* @description Returns the padded value as a string.
|
|
125
|
+
*/
|
|
126
|
+
pad_numeric(value: None | number | string, padding?: string): string;
|
|
127
|
+
/**
|
|
128
|
+
* @docs:
|
|
129
|
+
* @title: Pad Percentage
|
|
130
|
+
* @desc: Pads a numeric value with a percentage symbol. If the value is a float between 0 and 1, it is multiplied by 100 before padding.
|
|
131
|
+
* @param:
|
|
132
|
+
* @name: value
|
|
133
|
+
* @descr: The numeric value to pad.
|
|
134
|
+
* @param:
|
|
135
|
+
* @name: padding
|
|
136
|
+
* @descr: The string to pad the numeric value with, defaults to "%".
|
|
137
|
+
* @return:
|
|
138
|
+
* @description Returns the padded percentage as a string, or the original value if it is not numeric.
|
|
139
|
+
*/
|
|
140
|
+
pad_percentage(value: number, padding?: string): string;
|
|
141
|
+
/**
|
|
142
|
+
* @docs:
|
|
143
|
+
* @title: Edit Filter Wrapper
|
|
144
|
+
* @desc: Edits a filter string by replacing or removing specified types.
|
|
145
|
+
* Can also append a new type if it doesn’t exist in the filter.
|
|
146
|
+
* @param:
|
|
147
|
+
* @name: filter
|
|
148
|
+
* @descr: The original filter string that needs to be edited.
|
|
149
|
+
* @name: type
|
|
150
|
+
* @descr: The type that will be targeted for replacement or removal.
|
|
151
|
+
* @name: to
|
|
152
|
+
* @descr: The new value to replace the existing type with, or null to remove it.
|
|
153
|
+
* @return:
|
|
154
|
+
* @description Returns the modified filter string or null if the input filter was null.
|
|
155
|
+
*/
|
|
156
|
+
edit_filter_wrapper(filter: string | null, type: string, to?: undefstrnr): string;
|
|
157
|
+
/**
|
|
158
|
+
* @docs:
|
|
159
|
+
* @title: Toggle Filter Wrapper
|
|
160
|
+
* @desc: Toggles a specified filter type in a string. If the type is present, it will be removed; otherwise, it will be added.
|
|
161
|
+
* @param:
|
|
162
|
+
* @name: filter
|
|
163
|
+
* @descr: The filter string to modify.
|
|
164
|
+
* @name: type
|
|
165
|
+
* @descr: The type of filter to toggle.
|
|
166
|
+
* @name: to
|
|
167
|
+
* @descr: The value to add if the type is not present.
|
|
168
|
+
* @return:
|
|
169
|
+
* @description Returns the modified filter string or null if the input filter was null.
|
|
170
|
+
*/
|
|
171
|
+
toggle_filter_wrapper(filter: string | null, type: string, to?: string | null): string;
|
|
172
|
+
_convert_px_to_number_type(value: any, def?: number | null): any;
|
|
173
|
+
_try_parse_float(value: any, def?: number | null): any;
|
|
174
|
+
_try_parse_boolean(value: any): boolean;
|
|
175
|
+
/**
|
|
176
|
+
* @docs:
|
|
177
|
+
* @title: Append Child Elements
|
|
178
|
+
* @desc: Appends child elements to the current element. Can accept multiple child elements, including HTML nodes, functions, or strings.
|
|
179
|
+
* @param:
|
|
180
|
+
* @name: children
|
|
181
|
+
* @descr: The child elements to append, which can be an array of elements, a single element, or a function.
|
|
182
|
+
* @return:
|
|
183
|
+
* @descr: Returns the instance of the element for chaining.
|
|
184
|
+
*/
|
|
185
|
+
append(...children: AppendType[]): this;
|
|
186
|
+
/**
|
|
187
|
+
* @docs:
|
|
188
|
+
* @title: ZStack Append
|
|
189
|
+
* @desc: Appends multiple children to the ZStack element. This method can handle various types of children such as elements, functions, and text.
|
|
190
|
+
* @param:
|
|
191
|
+
* @name: children
|
|
192
|
+
* @descr: The children to append, which can be elements, arrays, text, or functions returning elements.
|
|
193
|
+
* @return:
|
|
194
|
+
* @description Returns the instance of the ZStack element for chaining.
|
|
195
|
+
*/
|
|
196
|
+
zstack_append(...children: AppendType[]): this;
|
|
197
|
+
/**
|
|
198
|
+
* @docs:
|
|
199
|
+
* @title: Append To Parent
|
|
200
|
+
* @desc: Appends the current element to a specified parent element and manages parent-child relationships.
|
|
201
|
+
* @param:
|
|
202
|
+
* @name: parent
|
|
203
|
+
* @descr: The parent element to which the current element will be appended.
|
|
204
|
+
* @return:
|
|
205
|
+
* @descr: Returns the instance of the element for chaining.
|
|
206
|
+
*/
|
|
207
|
+
append_to(parent: any): this;
|
|
208
|
+
/**
|
|
209
|
+
* @docs:
|
|
210
|
+
* @title: Append Children to Parent
|
|
211
|
+
* @desc: Appends the children of the current element to the specified parent element and executes a callback for each appended child.
|
|
212
|
+
* @param:
|
|
213
|
+
* @name: parent
|
|
214
|
+
* @descr: The parent element to which the children will be appended.
|
|
215
|
+
* @name: on_append_callback
|
|
216
|
+
* @descr: A callback function that is executed for each child when it is appended.
|
|
217
|
+
* @return:
|
|
218
|
+
* @description Returns the instance of the element for chaining.
|
|
219
|
+
*/
|
|
220
|
+
append_children_to(parent: any, on_append_callback?: Function): this;
|
|
221
|
+
/**
|
|
222
|
+
* @docs:
|
|
223
|
+
* @title: Remove Child
|
|
224
|
+
* @desc: Removes a child element from the current element. The child can be specified
|
|
225
|
+
* by passing a Node, an VElement, or an id string of the element to be removed.
|
|
226
|
+
* @param:
|
|
227
|
+
* @name: child
|
|
228
|
+
* @descr: The child to be removed from the current element.
|
|
229
|
+
* @return:
|
|
230
|
+
* @description Returns the instance of the element for chaining.
|
|
231
|
+
*/
|
|
232
|
+
remove_child(child: any): this;
|
|
233
|
+
/**
|
|
234
|
+
* @docs:
|
|
235
|
+
* @title: Remove Children
|
|
236
|
+
* @desc: Removes all child elements from the current element without using innerHTML.
|
|
237
|
+
* @return:
|
|
238
|
+
* @description Returns the instance of the element for chaining.
|
|
239
|
+
*/
|
|
240
|
+
remove_children(): this;
|
|
241
|
+
/**
|
|
242
|
+
* @docs:
|
|
243
|
+
* @title: Child
|
|
244
|
+
* @desc: Retrieves a child element by its index. Supports negative indexing to access elements from the end of the list.
|
|
245
|
+
* @param:
|
|
246
|
+
* @name: index
|
|
247
|
+
* @descr: The index of the child to retrieve. Can be a positive or negative integer.
|
|
248
|
+
* @return:
|
|
249
|
+
* @description Returns the child element at the specified index.
|
|
250
|
+
*/
|
|
251
|
+
child(index: number): any;
|
|
252
|
+
/**
|
|
253
|
+
* @docs:
|
|
254
|
+
* @title: Get Child
|
|
255
|
+
* @desc: Retrieves a child element by its index. Supports negative indexing to access elements from the end.
|
|
256
|
+
* @param:
|
|
257
|
+
* @name: index
|
|
258
|
+
* @descr: The index of the child element to retrieve. Can be negative to access from the end.
|
|
259
|
+
* @return:
|
|
260
|
+
* @description Returns the child element at the specified index, or undefined if the index is out of bounds.
|
|
261
|
+
*/
|
|
262
|
+
get(index: number): any | undefined;
|
|
263
|
+
/**
|
|
264
|
+
* @docs:
|
|
265
|
+
* @title: Text
|
|
266
|
+
* @desc: Set or get the text content of the element. If no value is provided, it retrieves the current text content.
|
|
267
|
+
* @param:
|
|
268
|
+
* @name: value
|
|
269
|
+
* @descr: The text content to set or retrieve.
|
|
270
|
+
* @return:
|
|
271
|
+
* @description Returns the current text content if no argument is passed, otherwise returns the instance of the element for chaining.
|
|
272
|
+
* @funcs: 2
|
|
273
|
+
*/
|
|
274
|
+
text(): string;
|
|
275
|
+
text(value: string): this;
|
|
276
|
+
/**
|
|
277
|
+
* @docs:
|
|
278
|
+
* @title: Width
|
|
279
|
+
* @desc: Specify the width or height of the element. Returns the offset width or height when the param value is null.
|
|
280
|
+
* @param:
|
|
281
|
+
* @name: value
|
|
282
|
+
* @descr: The width value to set or get.
|
|
283
|
+
* @param:
|
|
284
|
+
* @name: check_attribute
|
|
285
|
+
* @descr: Indicates whether to check the element's width attribute.
|
|
286
|
+
* @return:
|
|
287
|
+
* @description Returns the offset width when no value is provided, otherwise returns the instance of the element for chaining.
|
|
288
|
+
* @funcs: 2
|
|
289
|
+
*/
|
|
290
|
+
width(): string | number;
|
|
291
|
+
width(value: string | number, check_attribute?: boolean): this;
|
|
292
|
+
/** Simple wrapper for .width("fit-content") */
|
|
293
|
+
fit_content(): this;
|
|
294
|
+
/**
|
|
295
|
+
* @docs:
|
|
296
|
+
* @title: Fixed Width
|
|
297
|
+
* @desc: Sets the fixed width for the element and updates min and max widths accordingly.
|
|
298
|
+
* @param:
|
|
299
|
+
* @name: value
|
|
300
|
+
* @descr: The value to set for the width, can be a number or null to get the current width.
|
|
301
|
+
* @return:
|
|
302
|
+
* @description If no argument is passed, returns the current width as a number. If an argument is passed, returns the instance of the element for chaining.
|
|
303
|
+
* @funcs: 2
|
|
304
|
+
*/
|
|
305
|
+
fixed_width(): string | number;
|
|
306
|
+
fixed_width(value: string | number): this;
|
|
307
|
+
/**
|
|
308
|
+
* @docs:
|
|
309
|
+
* @title: Height
|
|
310
|
+
* @desc: Sets or retrieves the height of the element. It checks for attributes and styles based on the provided parameters.
|
|
311
|
+
* @param:
|
|
312
|
+
* @name: value
|
|
313
|
+
* @descr: The value to set for height or retrieve the current height if null.
|
|
314
|
+
* @param:
|
|
315
|
+
* @name: check_attribute
|
|
316
|
+
* @descr: Determines if the element's attribute should be checked.
|
|
317
|
+
* @return:
|
|
318
|
+
* @description Returns the instance of the element for chaining when an argument is passed, otherwise returns the current height as a number.
|
|
319
|
+
* @funcs: 2
|
|
320
|
+
*/
|
|
321
|
+
height(): string | number;
|
|
322
|
+
height(value: string | number, check_attribute?: boolean): this;
|
|
323
|
+
/**
|
|
324
|
+
* @docs:
|
|
325
|
+
* @title: Fixed Height
|
|
326
|
+
* @desc: Sets the fixed height for the element or retrieves the current height if no value is provided.
|
|
327
|
+
* @param:
|
|
328
|
+
* @name: value
|
|
329
|
+
* @descr: The height value to set, which can be a number or null.
|
|
330
|
+
* @return:
|
|
331
|
+
* @descr: When an argument is passed, this function returns the instance of the element for chaining. Otherwise, it returns the parsed float value of the current height.
|
|
332
|
+
* @funcs: 2
|
|
333
|
+
*/
|
|
334
|
+
fixed_height(): string | number;
|
|
335
|
+
fixed_height(value: string | number): this;
|
|
336
|
+
/**
|
|
337
|
+
* @docs:
|
|
338
|
+
* @title: Min height
|
|
339
|
+
* @desc: Sets the minimum height of an element. The equivalent of CSS attribute `minHeight`.
|
|
340
|
+
* Returns the attribute value when parameter `value` is `null`.
|
|
341
|
+
* @param:
|
|
342
|
+
* @name: value
|
|
343
|
+
* @descr: The value to assign. Leave `null` to retrieve the attribute's value.
|
|
344
|
+
* @return:
|
|
345
|
+
* @description Returns the `VElement` object for chaining unless parameter `value` is `null`, then the attribute's value is returned.
|
|
346
|
+
* @funcs: 2
|
|
347
|
+
*/
|
|
348
|
+
min_height(): string | number;
|
|
349
|
+
min_height(value: string | number): this;
|
|
350
|
+
/**
|
|
351
|
+
* @docs:
|
|
352
|
+
* @title: Min Width
|
|
353
|
+
* @desc: Sets the minimum width of an element. The equivalent of CSS attribute `minWidth`.
|
|
354
|
+
* Returns the attribute value when parameter `value` is `null`.
|
|
355
|
+
* @param:
|
|
356
|
+
* @name: value
|
|
357
|
+
* @descr: The value to assign. Leave `null` to retrieve the attribute's value.
|
|
358
|
+
* @return:
|
|
359
|
+
* @descr: Returns the `VElement` object for chaining unless parameter `value` is `null`, then the attribute's value is returned.
|
|
360
|
+
* @funcs: 2
|
|
361
|
+
*/
|
|
362
|
+
min_width(): string | number;
|
|
363
|
+
min_width(value: string | number): this;
|
|
364
|
+
/**
|
|
365
|
+
* @docs:
|
|
366
|
+
* @title: Width By Columns
|
|
367
|
+
* @desc: Sets the width of HStack children based on the number of columns specified.
|
|
368
|
+
* If columns are not provided, it defaults to 1. The calculation takes into account
|
|
369
|
+
* the left and right margins of the element.
|
|
370
|
+
* @param:
|
|
371
|
+
* @name: columns
|
|
372
|
+
* @descr: The number of columns to set the width by.
|
|
373
|
+
* @return:
|
|
374
|
+
* @description Returns the instance of the element for chaining.
|
|
375
|
+
*/
|
|
376
|
+
width_by_columns(columns: number): this;
|
|
377
|
+
/**
|
|
378
|
+
* @docs:
|
|
379
|
+
* @title: Offset Width
|
|
380
|
+
* @desc: Retrieves the offset width of the element.
|
|
381
|
+
* @return:
|
|
382
|
+
* @description Returns the offset width of the element.
|
|
383
|
+
*/
|
|
384
|
+
offset_width(): number;
|
|
385
|
+
/**
|
|
386
|
+
* @docs:
|
|
387
|
+
* @title: Offset Height
|
|
388
|
+
* @desc: Retrieves the height of the element's offset.
|
|
389
|
+
* @return:
|
|
390
|
+
* @description Returns the height of the element including padding and border.
|
|
391
|
+
*/
|
|
392
|
+
offset_height(): number;
|
|
393
|
+
/**
|
|
394
|
+
* @docs:
|
|
395
|
+
* @title: Client Width
|
|
396
|
+
* @desc: Retrieves the client width of the element.
|
|
397
|
+
* @return:
|
|
398
|
+
* @description Returns the client width of the element.
|
|
399
|
+
*/
|
|
400
|
+
client_width(): number;
|
|
401
|
+
/**
|
|
402
|
+
* @docs:
|
|
403
|
+
* @title: Client Height
|
|
404
|
+
* @desc: Retrieves the height of the client area of the element.
|
|
405
|
+
* @return:
|
|
406
|
+
* @description Returns the height of the client area in pixels.
|
|
407
|
+
*/
|
|
408
|
+
client_height(): number;
|
|
409
|
+
/**
|
|
410
|
+
* @docs:
|
|
411
|
+
* @title: X Offset
|
|
412
|
+
* @desc: Retrieves the x offset of the element from its parent.
|
|
413
|
+
* @return:
|
|
414
|
+
* @description Returns the x offset value of the element.
|
|
415
|
+
*/
|
|
416
|
+
x(): number;
|
|
417
|
+
/**
|
|
418
|
+
* @docs:
|
|
419
|
+
* @title: Y Offset
|
|
420
|
+
* @desc: Retrieves the vertical offset of the element from the top of the document.
|
|
421
|
+
* @return:
|
|
422
|
+
* @description Returns the vertical offset value.
|
|
423
|
+
*/
|
|
424
|
+
y(): number;
|
|
425
|
+
/**
|
|
426
|
+
* @docs:
|
|
427
|
+
* @title: Frame
|
|
428
|
+
* @desc: Sets the width and height of the frame. If width or height is not provided, it does not change that dimension.
|
|
429
|
+
* @param:
|
|
430
|
+
* @name: width
|
|
431
|
+
* @descr: The width to set for the frame.
|
|
432
|
+
* @param:
|
|
433
|
+
* @name: height
|
|
434
|
+
* @descr: The height to set for the frame.
|
|
435
|
+
* @return:
|
|
436
|
+
* @description Returns the instance of the element for chaining.
|
|
437
|
+
*/
|
|
438
|
+
frame(width?: string | number, height?: string | number): this;
|
|
439
|
+
/**
|
|
440
|
+
* @docs:
|
|
441
|
+
* @title: Min Frame
|
|
442
|
+
* @desc: Sets the minimum width and height for the frame. If parameters are provided, it updates the respective properties.
|
|
443
|
+
* @param:
|
|
444
|
+
* @name: width
|
|
445
|
+
* @descr: The minimum width to set for the frame.
|
|
446
|
+
* @param:
|
|
447
|
+
* @name: height
|
|
448
|
+
* @descr: The minimum height to set for the frame.
|
|
449
|
+
* @return:
|
|
450
|
+
* @descr: Returns the instance of the frame for chaining.
|
|
451
|
+
*/
|
|
452
|
+
min_frame(width: string | number, height: string | number): this;
|
|
453
|
+
/**
|
|
454
|
+
* @docs:
|
|
455
|
+
* @title: Max Frame
|
|
456
|
+
* @desc: Sets the maximum width and height for the frame. If a value is provided, it updates the respective maximum dimension.
|
|
457
|
+
* @param:
|
|
458
|
+
* @name: width
|
|
459
|
+
* @descr: The maximum width to set for the frame.
|
|
460
|
+
* @name: height
|
|
461
|
+
* @descr: The maximum height to set for the frame.
|
|
462
|
+
* @return:
|
|
463
|
+
* @description Returns the instance of the element for chaining.
|
|
464
|
+
*/
|
|
465
|
+
max_frame(width: string | number, height: string | number): this;
|
|
466
|
+
/**
|
|
467
|
+
* @docs:
|
|
468
|
+
* @title: Fixed Frame
|
|
469
|
+
* @desc: Sets the width and height of the element, applying padding to the values if provided.
|
|
470
|
+
* @param:
|
|
471
|
+
* @name: width
|
|
472
|
+
* @descr: The width to set for the element. Can be a number or null.
|
|
473
|
+
* @name: height
|
|
474
|
+
* @descr: The height to set for the element. Can be a number or null.
|
|
475
|
+
* @return:
|
|
476
|
+
* @description Returns the instance of the element for chaining.
|
|
477
|
+
*/
|
|
478
|
+
fixed_frame(width: string | number, height: string | number): this;
|
|
479
|
+
/**
|
|
480
|
+
* @docs:
|
|
481
|
+
* @title: Get Frame While Hidden
|
|
482
|
+
* @desc: Retrieves the dimensions of the element as it would appear if it were not hidden.
|
|
483
|
+
* @return:
|
|
484
|
+
* @description Returns an object containing the width and height of the element.
|
|
485
|
+
*/
|
|
486
|
+
get_frame_while_hidden(): {
|
|
487
|
+
width: number;
|
|
488
|
+
height: number;
|
|
489
|
+
};
|
|
490
|
+
sync_height_from(node: AnyElement, process?: (height: number) => number): this;
|
|
491
|
+
sync_height_to(node: AnyElement | AnyElement[], process?: (height: number) => number): this;
|
|
492
|
+
/**
|
|
493
|
+
* Set a square frame width and height.
|
|
494
|
+
*/
|
|
495
|
+
square(size?: string | number): this;
|
|
496
|
+
/** Set circle border radius */
|
|
497
|
+
circle(): this;
|
|
498
|
+
/**
|
|
499
|
+
* @docs:
|
|
500
|
+
* @title: Padding
|
|
501
|
+
* @desc: Sets the padding of the element based on the number of provided arguments.
|
|
502
|
+
* It can accept 1, 2, or 4 values to set padding for different sides.
|
|
503
|
+
* @param:
|
|
504
|
+
* @name: values
|
|
505
|
+
* @descr: The padding values to set. Can be a single value, two values for vertical and horizontal,
|
|
506
|
+
* or four values for top, right, bottom, and left.
|
|
507
|
+
* @return:
|
|
508
|
+
* @description Returns the instance of the element for chaining.
|
|
509
|
+
* @funcs: 4
|
|
510
|
+
*/
|
|
511
|
+
padding(): string;
|
|
512
|
+
padding(value: undefstrnr): this;
|
|
513
|
+
padding(top_bottom: undefstrnr, left_right: undefstrnr): this;
|
|
514
|
+
padding(top: undefstrnr, right: undefstrnr, bottom: undefstrnr, left: undefstrnr): this;
|
|
515
|
+
/**
|
|
516
|
+
* @docs:
|
|
517
|
+
* @title: Padding Bottom
|
|
518
|
+
* @desc: Sets the bottom padding of an element. The equivalent of CSS attribute `paddingBottom`.
|
|
519
|
+
* Returns the attribute value when parameter `value` is `null`.
|
|
520
|
+
* @param:
|
|
521
|
+
* @name: value
|
|
522
|
+
* @descr: The value to assign. Leave `null` to retrieve the attribute's value.
|
|
523
|
+
* @return:
|
|
524
|
+
* @descr: Returns the `VElement` object for chaining unless parameter `value` is `null`, then the attribute's value is returned.
|
|
525
|
+
* @funcs: 2
|
|
526
|
+
*/
|
|
527
|
+
padding_bottom(): number;
|
|
528
|
+
padding_bottom(value: string | number): this;
|
|
529
|
+
/**
|
|
530
|
+
* @docs:
|
|
531
|
+
* @title: Padding Left
|
|
532
|
+
* @desc: Sets the left padding of an element. The equivalent of CSS attribute `paddingLeft`.
|
|
533
|
+
* Returns the attribute value when parameter `value` is `null`.
|
|
534
|
+
* @param:
|
|
535
|
+
* @name: value
|
|
536
|
+
* @descr: The value to assign. Leave `null` to retrieve the attribute's value.
|
|
537
|
+
* @return:
|
|
538
|
+
* @description Returns the `VElement` object for chaining unless parameter `value` is `null`, then the attribute's value is returned.
|
|
539
|
+
* @funcs: 2
|
|
540
|
+
*/
|
|
541
|
+
padding_left(): number;
|
|
542
|
+
padding_left(value: string | number): this;
|
|
543
|
+
/**
|
|
544
|
+
* @docs:
|
|
545
|
+
* @title: Padding Right
|
|
546
|
+
* @desc: Sets the right padding of an element, equivalent to the CSS attribute `paddingRight`.
|
|
547
|
+
* Returns the attribute value when parameter `value` is `null`.
|
|
548
|
+
* @param:
|
|
549
|
+
* @name: value
|
|
550
|
+
* @descr: The value to assign. Leave `null` to retrieve the attribute's value.
|
|
551
|
+
* @return:
|
|
552
|
+
* @description Returns the `VElement` object for chaining, unless parameter `value` is `null`, then the attribute's value is returned.
|
|
553
|
+
* @funcs: 2
|
|
554
|
+
*/
|
|
555
|
+
padding_right(): number;
|
|
556
|
+
padding_right(value: string | number): this;
|
|
557
|
+
/**
|
|
558
|
+
* @docs:
|
|
559
|
+
* @title: Padding Top
|
|
560
|
+
* @desc: Sets the top padding of an element. The equivalent of CSS attribute `paddingTop`.
|
|
561
|
+
* Returns the attribute value when parameter `value` is `null`.
|
|
562
|
+
* @param:
|
|
563
|
+
* @name: value
|
|
564
|
+
* @descr: The value to assign. Leave `null` to retrieve the attribute's value.
|
|
565
|
+
* @return:
|
|
566
|
+
* @descr: Returns the `VElement` object for chaining unless parameter `value` is `null`, then the attribute's value is returned.
|
|
567
|
+
* @funcs: 2
|
|
568
|
+
*/
|
|
569
|
+
padding_top(): number;
|
|
570
|
+
padding_top(value: string | number): this;
|
|
571
|
+
/**
|
|
572
|
+
* @docs:
|
|
573
|
+
* @title: Margin
|
|
574
|
+
* @desc: Sets the margin of the element. Can accept 1, 2, or 4 values for different margin settings.
|
|
575
|
+
* @param:
|
|
576
|
+
* @name: values
|
|
577
|
+
* @descr: The values for the margin. Can be a single value, two values for vertical and horizontal margins, or four values for each side.
|
|
578
|
+
* @return:
|
|
579
|
+
* @description Returns the instance of the element for chaining.
|
|
580
|
+
* @funcs: 4
|
|
581
|
+
*/
|
|
582
|
+
margin(): string;
|
|
583
|
+
margin(value: undefstrnr): this;
|
|
584
|
+
margin(top_bottom: undefstrnr, left_right: undefstrnr): this;
|
|
585
|
+
margin(top: undefstrnr, right: undefstrnr, bottom: undefstrnr, left: undefstrnr): this;
|
|
586
|
+
/**
|
|
587
|
+
* @docs:
|
|
588
|
+
* @title: Margin Bottom
|
|
589
|
+
* @desc: Sets the bottom margin of an element. The equivalent of CSS attribute `marginBottom`. Returns the attribute value when parameter `value` is `null`.
|
|
590
|
+
* @param:
|
|
591
|
+
* @name: value
|
|
592
|
+
* @descr: The value to assign. Leave `null` to retrieve the attribute's value.
|
|
593
|
+
* @return:
|
|
594
|
+
* @description Returns the `VElement` object for chaining unless parameter `value` is `null`, then the attribute's value is returned.
|
|
595
|
+
* @funcs: 2
|
|
596
|
+
*/
|
|
597
|
+
margin_bottom(): number;
|
|
598
|
+
margin_bottom(value: string | number): this;
|
|
599
|
+
/**
|
|
600
|
+
* @docs:
|
|
601
|
+
* @title: Margin Left
|
|
602
|
+
* @desc: Sets the left margin of an element, equivalent to the CSS attribute `marginLeft`.
|
|
603
|
+
* Returns the attribute value when parameter `value` is `null`.
|
|
604
|
+
* @param:
|
|
605
|
+
* @name: value
|
|
606
|
+
* @descr: The value to assign. Leave `null` to retrieve the attribute's value.
|
|
607
|
+
* @return:
|
|
608
|
+
* @description Returns the `VElement` object for chaining unless parameter `value` is `null`, then the attribute's value is returned.
|
|
609
|
+
* @funcs: 2
|
|
610
|
+
*/
|
|
611
|
+
margin_left(): number;
|
|
612
|
+
margin_left(value: string | number): this;
|
|
613
|
+
/**
|
|
614
|
+
* @docs:
|
|
615
|
+
* @title: Margin Right
|
|
616
|
+
* @desc: Sets the right margin of an element, equivalent to the CSS attribute `marginRight`.
|
|
617
|
+
* Returns the attribute value when the parameter `value` is `null`.
|
|
618
|
+
* @param:
|
|
619
|
+
* @name: value
|
|
620
|
+
* @descr: The value to assign to the right margin. Leave `null` to retrieve the attribute's value.
|
|
621
|
+
* @return:
|
|
622
|
+
* @description Returns the instance of the element for chaining unless the parameter `value` is `null`, then the attribute's value is returned.
|
|
623
|
+
* @funcs: 2
|
|
624
|
+
*/
|
|
625
|
+
margin_right(): number;
|
|
626
|
+
margin_right(value: string | number): this;
|
|
627
|
+
/**
|
|
628
|
+
* @docs:
|
|
629
|
+
* @title: Margin Top
|
|
630
|
+
* @desc: Sets the top margin of an element. The equivalent of CSS attribute `marginTop`.
|
|
631
|
+
* Returns the attribute value when parameter `value` is `null`.
|
|
632
|
+
* @param:
|
|
633
|
+
* @name: value
|
|
634
|
+
* @descr: The value to assign. Leave `null` to retrieve the attribute's value.
|
|
635
|
+
* @return:
|
|
636
|
+
* @description Returns the `VElement` object for chaining unless parameter `value` is `null`, then the attribute's value is returned.
|
|
637
|
+
* @funcs: 2
|
|
638
|
+
*/
|
|
639
|
+
margin_top(): number;
|
|
640
|
+
margin_top(value: string | number): this;
|
|
641
|
+
/**
|
|
642
|
+
* @docs:
|
|
643
|
+
* @title: Position
|
|
644
|
+
* @desc: Sets or retrieves the position style of the element. Can be used with 0, 1, or 4 arguments.
|
|
645
|
+
* @param:
|
|
646
|
+
* @name: values
|
|
647
|
+
* @descr: The values for setting the position, which can be a single value or four values for top, right, bottom, and left.
|
|
648
|
+
* @return:
|
|
649
|
+
* @description Returns the current position if no arguments are passed, or the instance of the element for chaining when arguments are provided.
|
|
650
|
+
* @funcs: 3
|
|
651
|
+
*/
|
|
652
|
+
position(): string | undefined;
|
|
653
|
+
position(value: number | string): this;
|
|
654
|
+
position(top?: number | string | None, right?: number | string | None, bottom?: number | string | None, left?: number | string | None): this;
|
|
655
|
+
/**
|
|
656
|
+
* @docs:
|
|
657
|
+
* @title: Stretch
|
|
658
|
+
* @desc: Sets the flex property of the element to control its stretching behavior.
|
|
659
|
+
* @param:
|
|
660
|
+
* @name: value
|
|
661
|
+
* @descr: A boolean indicating whether the element should stretch or not.
|
|
662
|
+
* @return:
|
|
663
|
+
* @description Returns the instance of the element for chaining.
|
|
664
|
+
*/
|
|
665
|
+
stretch(value: boolean): this;
|
|
666
|
+
/**
|
|
667
|
+
* @docs:
|
|
668
|
+
* @title: Wrap
|
|
669
|
+
* @desc: Sets the wrapping behavior of an element based on the provided value.
|
|
670
|
+
* @param:
|
|
671
|
+
* @name: value
|
|
672
|
+
* @descr: A boolean or string indicating the wrap behavior.
|
|
673
|
+
* @return:
|
|
674
|
+
* @description Returns the instance of the element for chaining.
|
|
675
|
+
*/
|
|
676
|
+
wrap(value: boolean | string): this;
|
|
677
|
+
/**
|
|
678
|
+
* @docs:
|
|
679
|
+
* @title: Z Index
|
|
680
|
+
* @desc: Sets the z-index style property of the element.
|
|
681
|
+
* @param:
|
|
682
|
+
* @name: value
|
|
683
|
+
* @descr: The z-index value to set for the element.
|
|
684
|
+
* @return:
|
|
685
|
+
* @description Returns the instance of the element for chaining.
|
|
686
|
+
*/
|
|
687
|
+
z_index(value: number | string): this;
|
|
688
|
+
/**
|
|
689
|
+
* @docs:
|
|
690
|
+
* @experimental: true
|
|
691
|
+
* @title: Side by Side
|
|
692
|
+
* @description: Set the elements side by side till a specified width.
|
|
693
|
+
* @param:
|
|
694
|
+
* @name: options
|
|
695
|
+
* @descr: Configuration options for the side by side layout.
|
|
696
|
+
* @attr:
|
|
697
|
+
* @name: columns
|
|
698
|
+
* @description The amount of column elements that will be put on one row.
|
|
699
|
+
* @name: hspacing
|
|
700
|
+
* @description The horizontal spacing between the columns in pixels.
|
|
701
|
+
* @name: vspacing
|
|
702
|
+
* @description The vertical spacing between the rows in pixels.
|
|
703
|
+
* @name: stretch
|
|
704
|
+
* @description Stretch the leftover columns to max width.
|
|
705
|
+
* @name: hide_dividers
|
|
706
|
+
* @description Hide dividers when they would appear on a row.
|
|
707
|
+
* @return:
|
|
708
|
+
* @description Returns the instance of the element for chaining.
|
|
709
|
+
*/
|
|
710
|
+
side_by_side(options: {
|
|
711
|
+
columns?: number;
|
|
712
|
+
hspacing?: number;
|
|
713
|
+
vspacing?: number;
|
|
714
|
+
stretch?: boolean;
|
|
715
|
+
hide_dividers?: boolean;
|
|
716
|
+
}): this;
|
|
717
|
+
/**
|
|
718
|
+
* @docs:
|
|
719
|
+
* @title: Side By Side Basis
|
|
720
|
+
* @desc: Sets or retrieves the side by side basis for a node, which must be a floating percentage between 0.0 and 1.0.
|
|
721
|
+
* @param:
|
|
722
|
+
* @name: basis
|
|
723
|
+
* @descr: The basis value to set or retrieve.
|
|
724
|
+
* @return:
|
|
725
|
+
* @description When an argument is passed, this function returns the instance of the element for chaining. Otherwise, it returns the already set side by side basis.
|
|
726
|
+
* @funcs: 2
|
|
727
|
+
*/
|
|
728
|
+
side_by_side_basis(): number | undefined;
|
|
729
|
+
side_by_side_basis(basis: number | false): this;
|
|
730
|
+
/**
|
|
731
|
+
* @docs:
|
|
732
|
+
* @title: Ellipsis Overflow
|
|
733
|
+
* @desc: Configures the text overflow behavior with ellipsis. It can enable or disable ellipsis and set the number of lines.
|
|
734
|
+
* @param:
|
|
735
|
+
* @name: to
|
|
736
|
+
* @descr: Indicates whether to enable or disable ellipsis. If `null`, it returns the current state.
|
|
737
|
+
* @param:
|
|
738
|
+
* @name: after_lines
|
|
739
|
+
* @descr: The number of lines after which ellipsis should be applied. Only relevant when `to` is `true`.
|
|
740
|
+
* @return:
|
|
741
|
+
* @description Returns the instance of the element for chaining.
|
|
742
|
+
* @funcs: 2
|
|
743
|
+
*/
|
|
744
|
+
ellipsis_overflow(): boolean;
|
|
745
|
+
ellipsis_overflow(to: boolean, after_lines?: number | None): this;
|
|
746
|
+
/**
|
|
747
|
+
* @docs:
|
|
748
|
+
* @title: Align
|
|
749
|
+
* @desc: Sets or retrieves the alignment style of the element based on its type.
|
|
750
|
+
* @param:
|
|
751
|
+
* @name: value
|
|
752
|
+
* @descr: The alignment value to set or retrieve based on the element type.
|
|
753
|
+
* @return:
|
|
754
|
+
* @description When an argument is passed, this function returns the instance of the element for chaining. Otherwise, it returns the currently set alignment value.
|
|
755
|
+
* @funcs: 2
|
|
756
|
+
*/
|
|
757
|
+
align(): string;
|
|
758
|
+
align(value: string): this;
|
|
759
|
+
/**
|
|
760
|
+
* @docs:
|
|
761
|
+
* @title: Leading
|
|
762
|
+
* @desc: Sets the alignment to the start position.
|
|
763
|
+
* @return:
|
|
764
|
+
* @description Returns the instance of the element for chaining.
|
|
765
|
+
*/
|
|
766
|
+
leading(): this;
|
|
767
|
+
/**
|
|
768
|
+
* @docs:
|
|
769
|
+
* @title: Center Alignment
|
|
770
|
+
* @desc: Sets the alignment of the element to center.
|
|
771
|
+
* @return:
|
|
772
|
+
* @description Returns the instance of the element for chaining.
|
|
773
|
+
*/
|
|
774
|
+
center(): this;
|
|
775
|
+
/**
|
|
776
|
+
* @docs:
|
|
777
|
+
* @title: Trailing
|
|
778
|
+
* @desc: Aligns the element to the end.
|
|
779
|
+
* @return:
|
|
780
|
+
* @description Returns the instance of the element for chaining.
|
|
781
|
+
*/
|
|
782
|
+
trailing(): this;
|
|
783
|
+
/**
|
|
784
|
+
* @docs:
|
|
785
|
+
* @title: Align Vertical
|
|
786
|
+
* @desc: Sets or retrieves the vertical alignment style of the element based on its type.
|
|
787
|
+
* @param:
|
|
788
|
+
* @name: value
|
|
789
|
+
* @descr: The alignment value to set or retrieve.
|
|
790
|
+
* @return:
|
|
791
|
+
* @description Returns the instance of the element for chaining when an argument is passed. Otherwise, returns the current alignment value.
|
|
792
|
+
* @funcs: 2
|
|
793
|
+
*/
|
|
794
|
+
align_vertical(): string;
|
|
795
|
+
align_vertical(value: string): this;
|
|
796
|
+
/**
|
|
797
|
+
* @docs:
|
|
798
|
+
* @title: Leading Vertical
|
|
799
|
+
* @desc: Sets the vertical alignment to the start position.
|
|
800
|
+
* @return:
|
|
801
|
+
* @description Returns the instance of the element for chaining.
|
|
802
|
+
*/
|
|
803
|
+
leading_vertical(): this;
|
|
804
|
+
/**
|
|
805
|
+
* @docs:
|
|
806
|
+
* @title: Center Vertical
|
|
807
|
+
* @desc: Centers the element vertically, optionally only when there is no overflow.
|
|
808
|
+
* @param:
|
|
809
|
+
* @name: only_on_no_overflow
|
|
810
|
+
* @descr: Determines whether to center only when there is no overflow.
|
|
811
|
+
* @return:
|
|
812
|
+
* @description Returns the instance of the element for chaining.
|
|
813
|
+
*/
|
|
814
|
+
center_vertical(only_on_no_overflow?: boolean): this;
|
|
815
|
+
/**
|
|
816
|
+
* @docs:
|
|
817
|
+
* @title: Trailing Vertical
|
|
818
|
+
* @desc: Sets the vertical alignment to the trailing position.
|
|
819
|
+
* @return:
|
|
820
|
+
* @description Returns the instance of the element for chaining.
|
|
821
|
+
*/
|
|
822
|
+
trailing_vertical(): this;
|
|
823
|
+
/**
|
|
824
|
+
* @docs:
|
|
825
|
+
* @title: Align Text
|
|
826
|
+
* @desc: Sets the text alignment using predefined shortcuts.
|
|
827
|
+
* @param:
|
|
828
|
+
* @name: value
|
|
829
|
+
* @descr: The value representing the text alignment to set.
|
|
830
|
+
* @return:
|
|
831
|
+
* @description Returns the instance of the element for chaining.
|
|
832
|
+
*/
|
|
833
|
+
align_text(value: string): this;
|
|
834
|
+
/**
|
|
835
|
+
* @docs:
|
|
836
|
+
* @title: Text Leading
|
|
837
|
+
* @desc: Sets the text alignment to the start position for leading text.
|
|
838
|
+
* @return:
|
|
839
|
+
* @description Returns the instance of the element for chaining.
|
|
840
|
+
*/
|
|
841
|
+
text_leading(): this;
|
|
842
|
+
/**
|
|
843
|
+
* @docs:
|
|
844
|
+
* @title: Text Center
|
|
845
|
+
* @desc: Sets the text alignment of the element to center.
|
|
846
|
+
* @return:
|
|
847
|
+
* @description Returns the instance of the element for chaining.
|
|
848
|
+
*/
|
|
849
|
+
text_center(): this;
|
|
850
|
+
/**
|
|
851
|
+
* @docs:
|
|
852
|
+
* @title: Text Trailing
|
|
853
|
+
* @desc: Sets the text alignment to 'end' for trailing text.
|
|
854
|
+
* @return:
|
|
855
|
+
* @description Returns the instance of the element for chaining.
|
|
856
|
+
*/
|
|
857
|
+
text_trailing(): this;
|
|
858
|
+
/**
|
|
859
|
+
* @docs:
|
|
860
|
+
* @title: Align Height
|
|
861
|
+
* @desc: Aligns items by height inside a horizontal stack.
|
|
862
|
+
* @return:
|
|
863
|
+
* @description Returns the instance of the element for chaining.
|
|
864
|
+
*/
|
|
865
|
+
align_height(): this;
|
|
866
|
+
/**
|
|
867
|
+
* @docs:
|
|
868
|
+
* @title: Text Wrap
|
|
869
|
+
* @desc: Set the text wrap value, equivalent to the CSS attribute `textWrap`.
|
|
870
|
+
* Returns the attribute value when the parameter `value` is `null`.
|
|
871
|
+
* @param:
|
|
872
|
+
* @name: value
|
|
873
|
+
* @descr: The value to assign. Leave `null` to retrieve the attribute's value.
|
|
874
|
+
* @return:
|
|
875
|
+
* @description Returns the `VElement` object for chaining unless parameter `value` is `null`, then the attribute's value is returned.
|
|
876
|
+
* @funcs: 2
|
|
877
|
+
*/
|
|
878
|
+
text_wrap(): string;
|
|
879
|
+
text_wrap(value: string): this;
|
|
880
|
+
/**
|
|
881
|
+
* @docs:
|
|
882
|
+
* @title: Line clamp
|
|
883
|
+
* @desc: This non-standard CSS property allows you to limit the number of lines shown in a block container. When used in conjunction with `-webkit-box-orient`, it specifies the maximum number of lines to display before truncating the text. Text that exceeds this limit is cut off and typically ends with an ellipsis. This property is particularly useful for creating text overflow effects in web design where maintaining a consistent, visually manageable block of text is necessary.
|
|
884
|
+
* @param:
|
|
885
|
+
* @name: value
|
|
886
|
+
* @description: The value to assign. Leave `null` to retrieve the attribute's value.
|
|
887
|
+
* @return:
|
|
888
|
+
* @description: Returns the `VElement` object for chaining unless parameter `value` is `null`, in which case the attribute's value is returned.
|
|
889
|
+
* @funcs: 2
|
|
890
|
+
*/
|
|
891
|
+
line_clamp(): string;
|
|
892
|
+
line_clamp(value: string): this;
|
|
893
|
+
/**
|
|
894
|
+
* @docs:
|
|
895
|
+
* @title: Box Orient
|
|
896
|
+
* @desc: This property is part of the old flexbox model and is used to define the orientation of the children in a flex container. In combination with `-webkit-line-clamp`, it's set to vertical to allow the line clamping effect on block containers. It dictates how the children of the box are laid out: horizontally or vertically. Note that `-webkit-box-orient` is specific to Webkit-based browsers and is not part of the standard CSS flexbox properties.
|
|
897
|
+
* @param:
|
|
898
|
+
* @name: value
|
|
899
|
+
* @descr: The value to assign. Leave `null` to retrieve the attribute's value.
|
|
900
|
+
* @return:
|
|
901
|
+
* @description Returns the `VElement` object for chaining unless parameter `value` is `null`, then the attribute's value is returned.
|
|
902
|
+
* @funcs: 2
|
|
903
|
+
*/
|
|
904
|
+
box_orient(): string;
|
|
905
|
+
box_orient(value: string): this;
|
|
906
|
+
/**
|
|
907
|
+
* @docs:
|
|
908
|
+
* @title: Color
|
|
909
|
+
* @desc: Sets the color of text, also supports a `GradientType` element.
|
|
910
|
+
* Returns the attribute value when parameter `value` is `null`.
|
|
911
|
+
* @param:
|
|
912
|
+
* @name: value
|
|
913
|
+
* @description: The value to assign. Leave `null` to retrieve the attribute's value.
|
|
914
|
+
* @return:
|
|
915
|
+
* @description: Returns the `VElement` object for chaining unless parameter `value` is `null`, then the attribute's value is returned.
|
|
916
|
+
* When the value is `null` and the color has been set using a `GradientType`, `transparent` will be returned.
|
|
917
|
+
* @funcs: 2
|
|
918
|
+
*/
|
|
919
|
+
color(): string;
|
|
920
|
+
color(value: string | GradientType): this;
|
|
921
|
+
/**
|
|
922
|
+
* @docs:
|
|
923
|
+
* @title: Border
|
|
924
|
+
* @desc: Sets the border style of the element. Can accept one to three arguments to define border properties.
|
|
925
|
+
* @param:
|
|
926
|
+
* @name: values
|
|
927
|
+
* @descr: The values to set the border style.
|
|
928
|
+
* @return:
|
|
929
|
+
* @description When no arguments are passed, returns the current border style. When arguments are passed, returns the instance of the element for chaining.
|
|
930
|
+
* @funcs: 4
|
|
931
|
+
*/
|
|
932
|
+
border(): string;
|
|
933
|
+
border(value: string): this;
|
|
934
|
+
border(width: string | number, color: string): this;
|
|
935
|
+
border(width: string | number, style: string, color: string): this;
|
|
936
|
+
border(opts: BorderOpts): this;
|
|
937
|
+
/**
|
|
938
|
+
* @docs:
|
|
939
|
+
* @title: Border Top
|
|
940
|
+
* @desc: Sets the border top style for the element. Returns the current value when no parameters are provided.
|
|
941
|
+
* @param:
|
|
942
|
+
* @name: values
|
|
943
|
+
* @descr: Values to set the border top, can include width, style, and color.
|
|
944
|
+
* @return:
|
|
945
|
+
* @description Returns the current border top value if no parameters are provided; otherwise returns the instance of the element for chaining.
|
|
946
|
+
* @funcs: 4
|
|
947
|
+
*/
|
|
948
|
+
border_top(): string;
|
|
949
|
+
border_top(value: string | number): this;
|
|
950
|
+
border_top(width: string | number, color: string): this;
|
|
951
|
+
border_top(width: string | number, style: string, color: string): this;
|
|
952
|
+
/**
|
|
953
|
+
* @docs:
|
|
954
|
+
* @title: Border Bottom
|
|
955
|
+
* @desc: Sets the border bottom style of the element. Returns the attribute value when no parameters are defined.
|
|
956
|
+
* @param:
|
|
957
|
+
* @name: values
|
|
958
|
+
* @descr: A variable number of values to set the border bottom style.
|
|
959
|
+
* @return:
|
|
960
|
+
* @description Returns the current border bottom style when no arguments are passed, otherwise returns the instance for chaining.
|
|
961
|
+
* @funcs: 4
|
|
962
|
+
*/
|
|
963
|
+
border_bottom(): string;
|
|
964
|
+
border_bottom(value: string): this;
|
|
965
|
+
border_bottom(width: string | number, color: string): this;
|
|
966
|
+
border_bottom(width: string | number, style: string, color: string): this;
|
|
967
|
+
/**
|
|
968
|
+
* @docs:
|
|
969
|
+
* @title: Border Right
|
|
970
|
+
* @desc: Sets the border-right property of the element.
|
|
971
|
+
* Returns the current value if no parameters are provided.
|
|
972
|
+
* @param:
|
|
973
|
+
* @name: values
|
|
974
|
+
* @descr: The values to set for the border-right property.
|
|
975
|
+
* @return:
|
|
976
|
+
* @description Returns the instance of the element for chaining when parameters are provided,
|
|
977
|
+
* otherwise returns the current value of the border-right property.
|
|
978
|
+
* @funcs: 4
|
|
979
|
+
*/
|
|
980
|
+
border_right(): string;
|
|
981
|
+
border_right(value: string): this;
|
|
982
|
+
border_right(width: string | number, color: string): this;
|
|
983
|
+
border_right(width: string | number, style: string, color: string): this;
|
|
984
|
+
/**
|
|
985
|
+
* @docs:
|
|
986
|
+
* @title: Border Left
|
|
987
|
+
* @desc: Sets the left border style of the element. Returns the current value if no parameters are provided.
|
|
988
|
+
* @param:
|
|
989
|
+
* @name: values
|
|
990
|
+
* @descr: The values to set for the border-left property.
|
|
991
|
+
* @return:
|
|
992
|
+
* @description Returns the current value of the left border when no parameters are provided, otherwise returns the instance of the element for chaining.
|
|
993
|
+
* @funcs: 2
|
|
994
|
+
*/
|
|
995
|
+
border_left(): string;
|
|
996
|
+
border_left(value: string): this;
|
|
997
|
+
border_left(width: string | number, color: string): this;
|
|
998
|
+
border_left(width: string | number, style: string, color: string): this;
|
|
999
|
+
/**
|
|
1000
|
+
* @docs:
|
|
1001
|
+
* @title: Shadow
|
|
1002
|
+
* @desc: Sets the box shadow of the element. Can accept either 1 or 4 arguments for different shadow styles.
|
|
1003
|
+
* @param:
|
|
1004
|
+
* @name: values
|
|
1005
|
+
* @descr: The values to set the box shadow. Can be a single value or four separate values.
|
|
1006
|
+
* @return:
|
|
1007
|
+
* @description Returns the current box shadow if no arguments are provided, or the instance of the element for chaining.
|
|
1008
|
+
* @funcs: 2
|
|
1009
|
+
*/
|
|
1010
|
+
shadow(): string;
|
|
1011
|
+
shadow(value: string | number): this;
|
|
1012
|
+
shadow(value1: string | number, value2: string | number, value3: string | number, value4: string | string): this;
|
|
1013
|
+
/**
|
|
1014
|
+
* @docs:
|
|
1015
|
+
* @title: Drop Shadow
|
|
1016
|
+
* @desc: Applies a drop shadow effect to the object. Can handle 0, 1, or 4 arguments.
|
|
1017
|
+
* @param:
|
|
1018
|
+
* @name: values
|
|
1019
|
+
* @descr: The values for the drop shadow effect, which can be numbers or null.
|
|
1020
|
+
* @return:
|
|
1021
|
+
* @description Returns the instance of the element for chaining when arguments are provided. If no arguments are passed, it returns the current filter value.
|
|
1022
|
+
* @funcs: 3
|
|
1023
|
+
*/
|
|
1024
|
+
drop_shadow(): string;
|
|
1025
|
+
drop_shadow(value: string | number): this;
|
|
1026
|
+
drop_shadow(value1: string | number, value2: string | number, value3: string | number, value4: string): this;
|
|
1027
|
+
/**
|
|
1028
|
+
* @docs:
|
|
1029
|
+
* @title: Greyscale
|
|
1030
|
+
* @desc: Applies a greyscale filter to the element. Returns the current filter if no value is provided.
|
|
1031
|
+
* @param:
|
|
1032
|
+
* @name: value
|
|
1033
|
+
* @descr: The percentage value for greyscale. Can be a number or null.
|
|
1034
|
+
* @return:
|
|
1035
|
+
* @description Returns the current filter value if no argument is passed, otherwise returns the instance for chaining.
|
|
1036
|
+
* @funcs: 2
|
|
1037
|
+
*/
|
|
1038
|
+
greyscale(): string;
|
|
1039
|
+
greyscale(value: number): this;
|
|
1040
|
+
/**
|
|
1041
|
+
* @docs:
|
|
1042
|
+
* @title: Opacity
|
|
1043
|
+
* @desc: Set or get the opacity of the element based on its type.
|
|
1044
|
+
* @param:
|
|
1045
|
+
* @name: value
|
|
1046
|
+
* @descr: The value of the opacity to set, or null to get the current opacity.
|
|
1047
|
+
* @return:
|
|
1048
|
+
* @description Returns the current opacity value if no argument is passed. When an argument is passed, it returns the instance of the element for chaining.
|
|
1049
|
+
* @funcs: 2
|
|
1050
|
+
*/
|
|
1051
|
+
opacity(): string | number;
|
|
1052
|
+
opacity(value: string | number): this;
|
|
1053
|
+
/**
|
|
1054
|
+
* @docs:
|
|
1055
|
+
* @title: Toggle Opacity
|
|
1056
|
+
* @desc: Toggles the opacity of the element between a specified value and fully opaque.
|
|
1057
|
+
* @param:
|
|
1058
|
+
* @name: value
|
|
1059
|
+
* @descr: The value to set the opacity to when toggling.
|
|
1060
|
+
* @default: 0.25
|
|
1061
|
+
* @return:
|
|
1062
|
+
* @description Returns the instance of the element for chaining.
|
|
1063
|
+
*/
|
|
1064
|
+
toggle_opacity(value: number): this;
|
|
1065
|
+
/**
|
|
1066
|
+
* @docs:
|
|
1067
|
+
* @title: Blur
|
|
1068
|
+
* @desc: Applies a blur effect to the element using the specified value.
|
|
1069
|
+
* @param:
|
|
1070
|
+
* @name: value
|
|
1071
|
+
* @descr: The amount of blur to apply, can be a number or null.
|
|
1072
|
+
* @return:
|
|
1073
|
+
* @description Returns the instance of the element for chaining.
|
|
1074
|
+
* @funcs: 2
|
|
1075
|
+
*/
|
|
1076
|
+
blur(): string;
|
|
1077
|
+
blur(value: number): this;
|
|
1078
|
+
/**
|
|
1079
|
+
* @docs:
|
|
1080
|
+
* @title: Toggle Blur
|
|
1081
|
+
* @desc: Toggles the blur effect on the element with a specified value.
|
|
1082
|
+
* @param:
|
|
1083
|
+
* @name: value
|
|
1084
|
+
* @descr: The amount of blur to apply, defaulting to 10.
|
|
1085
|
+
* @return:
|
|
1086
|
+
* @description Returns the instance of the element for chaining.
|
|
1087
|
+
*/
|
|
1088
|
+
toggle_blur(value?: number): this;
|
|
1089
|
+
/**
|
|
1090
|
+
* @docs:
|
|
1091
|
+
* @title: Background Blur
|
|
1092
|
+
* @desc: Sets or retrieves the background blur effect for the element.
|
|
1093
|
+
* @param:
|
|
1094
|
+
* @name: value
|
|
1095
|
+
* @descr: The value to set for the blur effect, which can be a number or null.
|
|
1096
|
+
* @return:
|
|
1097
|
+
* @description Returns the current blur effect if no argument is passed, otherwise returns the instance of the element for chaining.
|
|
1098
|
+
* @funcs: 2
|
|
1099
|
+
*/
|
|
1100
|
+
background_blur(): string;
|
|
1101
|
+
background_blur(value: number | null): this;
|
|
1102
|
+
/**
|
|
1103
|
+
* @docs:
|
|
1104
|
+
* @title: Toggle Background Blur
|
|
1105
|
+
* @desc: Toggles the background blur effect by applying a backdrop filter.
|
|
1106
|
+
* @param:
|
|
1107
|
+
* @name: value
|
|
1108
|
+
* @descr: The intensity of the blur effect to apply.
|
|
1109
|
+
* @default: 10
|
|
1110
|
+
* @return:
|
|
1111
|
+
* @description Returns the instance of the element for chaining.
|
|
1112
|
+
*/
|
|
1113
|
+
toggle_background_blur(value?: number): this;
|
|
1114
|
+
/**
|
|
1115
|
+
* @docs:
|
|
1116
|
+
* @title: Brightness
|
|
1117
|
+
* @desc: Adjusts the brightness of an element's filter. If no value is provided, it returns the current brightness filter.
|
|
1118
|
+
* @param:
|
|
1119
|
+
* @name: value
|
|
1120
|
+
* @descr: The brightness level to set, can be a number or null.
|
|
1121
|
+
* @return:
|
|
1122
|
+
* @description Returns the instance of the element for chaining if a value is provided. Otherwise, returns the current brightness filter.
|
|
1123
|
+
* @funcs: 2
|
|
1124
|
+
*/
|
|
1125
|
+
brightness(): string;
|
|
1126
|
+
brightness(value: number): this;
|
|
1127
|
+
/**
|
|
1128
|
+
* @docs:
|
|
1129
|
+
* @title: Toggle Brightness
|
|
1130
|
+
* @desc: Toggles the brightness of the element by applying a filter based on the provided value.
|
|
1131
|
+
* @param:
|
|
1132
|
+
* @name: value
|
|
1133
|
+
* @descr: The brightness value to set, defaults to 0.5 if not provided.
|
|
1134
|
+
* @return:
|
|
1135
|
+
* @description Returns the instance of the element for chaining.
|
|
1136
|
+
*/
|
|
1137
|
+
toggle_brightness(value?: number): this;
|
|
1138
|
+
/**
|
|
1139
|
+
* @docs:
|
|
1140
|
+
* @title: Background Brightness
|
|
1141
|
+
* @desc: Adjusts the brightness of the background using a specified value.
|
|
1142
|
+
* If no value is provided, it retrieves the current backdrop filter.
|
|
1143
|
+
* @param:
|
|
1144
|
+
* @name: value
|
|
1145
|
+
* @descr: The brightness value to set, or null to get the current value.
|
|
1146
|
+
* @return:
|
|
1147
|
+
* @description Returns the instance of the element for chaining when a value is provided, or the current backdrop filter value if no value is given.
|
|
1148
|
+
* @funcs: 2
|
|
1149
|
+
*/
|
|
1150
|
+
background_brightness(): string;
|
|
1151
|
+
background_brightness(value: number): this;
|
|
1152
|
+
/**
|
|
1153
|
+
* @docs:
|
|
1154
|
+
* @title: Toggle Background Brightness
|
|
1155
|
+
* @desc: Toggles the background brightness by applying a filter based on the provided value.
|
|
1156
|
+
* @param:
|
|
1157
|
+
* @name: value
|
|
1158
|
+
* @descr: The brightness value to set, defaulting to 10 if not provided.
|
|
1159
|
+
* @return:
|
|
1160
|
+
* @descr: Returns the instance of the element for chaining.
|
|
1161
|
+
*/
|
|
1162
|
+
toggle_background_brightness(value?: number): this;
|
|
1163
|
+
/**
|
|
1164
|
+
* @docs:
|
|
1165
|
+
* @title: Rotate
|
|
1166
|
+
* @desc: Sets the rotation transformation for the element. When called without an argument, it retrieves the current rotation.
|
|
1167
|
+
* @param:
|
|
1168
|
+
* @name: value
|
|
1169
|
+
* @descr: The value to set as the rotation. It can be a number, string, or null.
|
|
1170
|
+
* @return:
|
|
1171
|
+
* @description Returns the current rotation value as a string when no argument is passed. When an argument is provided, it returns the instance of the element for chaining.
|
|
1172
|
+
* @funcs: 2
|
|
1173
|
+
*/
|
|
1174
|
+
rotate(): string;
|
|
1175
|
+
rotate(value: number | string): this;
|
|
1176
|
+
/**
|
|
1177
|
+
* @docs:
|
|
1178
|
+
* @title: Delay
|
|
1179
|
+
* @desc: Set the delay for keyframes in the style element.
|
|
1180
|
+
* @param:
|
|
1181
|
+
* @name: value
|
|
1182
|
+
* @descr: The value of the delay to set.
|
|
1183
|
+
* @return:
|
|
1184
|
+
* @descr: Returns the instance of the element for chaining.
|
|
1185
|
+
*/
|
|
1186
|
+
delay(value: string | number): this;
|
|
1187
|
+
/**
|
|
1188
|
+
* @docs:
|
|
1189
|
+
* @title: Duration
|
|
1190
|
+
* @desc: Sets the duration style property for the element.
|
|
1191
|
+
* @param:
|
|
1192
|
+
* @name: value
|
|
1193
|
+
* @descr: The value to set for the duration property.
|
|
1194
|
+
* @return:
|
|
1195
|
+
* @description Returns the instance of the element for chaining.
|
|
1196
|
+
*/
|
|
1197
|
+
duration(value: string | number): this;
|
|
1198
|
+
/**
|
|
1199
|
+
* @docs:
|
|
1200
|
+
* @title: Background
|
|
1201
|
+
* @desc: A shorthand property for all the background properties.
|
|
1202
|
+
* The equivalent of CSS attribute `background`.
|
|
1203
|
+
* Returns the attribute value when parameter `value` is `null`.
|
|
1204
|
+
* @param:
|
|
1205
|
+
* @name: value
|
|
1206
|
+
* @descr: The value to assign. Leave `null` to retrieve the attribute's value.
|
|
1207
|
+
* @return:
|
|
1208
|
+
* @description Returns the `VElement` object for chaining unless parameter `value` is `null`, then the attribute's value is returned.
|
|
1209
|
+
* @funcs: 2
|
|
1210
|
+
*/
|
|
1211
|
+
background(): string;
|
|
1212
|
+
background(value: string): this;
|
|
1213
|
+
/**
|
|
1214
|
+
* @docs:
|
|
1215
|
+
* @title: Scale Font Size
|
|
1216
|
+
* @desc: Adjusts the font size based on a scaling factor relative to the current font size.
|
|
1217
|
+
* @param:
|
|
1218
|
+
* @name: scale
|
|
1219
|
+
* @descr: The scaling factor to apply to the current font size.
|
|
1220
|
+
* @default: 1.0
|
|
1221
|
+
* @return:
|
|
1222
|
+
* @descr: Returns the instance of the element for chaining.
|
|
1223
|
+
*/
|
|
1224
|
+
scale_font_size(scale?: number): this;
|
|
1225
|
+
font_size_ratio(scale?: number): this;
|
|
1226
|
+
/**
|
|
1227
|
+
* @docs:
|
|
1228
|
+
* @title: Display
|
|
1229
|
+
* @desc: Sets or retrieves the display style of an HTML element.
|
|
1230
|
+
* If no value is provided, it returns the current display style.
|
|
1231
|
+
* @param:
|
|
1232
|
+
* @name: value
|
|
1233
|
+
* @descr: The value to set for the display style.
|
|
1234
|
+
* @return:
|
|
1235
|
+
* @descr: Returns the current display style if no argument is passed,
|
|
1236
|
+
* otherwise returns the instance of the element for chaining.
|
|
1237
|
+
* @funcs: 2
|
|
1238
|
+
*/
|
|
1239
|
+
display(): string;
|
|
1240
|
+
display(value: string): this;
|
|
1241
|
+
/**
|
|
1242
|
+
* @docs:
|
|
1243
|
+
* @title: Hide
|
|
1244
|
+
* @desc: Hides the element by setting its display style to none.
|
|
1245
|
+
* @return:
|
|
1246
|
+
* @description Returns the instance of the element for chaining.
|
|
1247
|
+
*/
|
|
1248
|
+
hide(): this;
|
|
1249
|
+
/**
|
|
1250
|
+
* @docs:
|
|
1251
|
+
* @title: Show
|
|
1252
|
+
* @desc: Displays the element by setting its display style property.
|
|
1253
|
+
* @return:
|
|
1254
|
+
* @description Returns the instance of the element for chaining.
|
|
1255
|
+
*/
|
|
1256
|
+
show(): this;
|
|
1257
|
+
/**
|
|
1258
|
+
* @docs:
|
|
1259
|
+
* @title: Is Hidden
|
|
1260
|
+
* @desc: Checks if the element is currently hidden based on its display style.
|
|
1261
|
+
* @return:
|
|
1262
|
+
* @description Returns true if the element is hidden; otherwise, false.
|
|
1263
|
+
*/
|
|
1264
|
+
is_hidden(): boolean;
|
|
1265
|
+
/**
|
|
1266
|
+
* @docs:
|
|
1267
|
+
* @title: Is Visible
|
|
1268
|
+
* @desc: Checks if the element is visible based on its display style.
|
|
1269
|
+
* @return:
|
|
1270
|
+
* @description Returns true if the element is visible, false otherwise.
|
|
1271
|
+
*/
|
|
1272
|
+
is_visible(): boolean;
|
|
1273
|
+
/**
|
|
1274
|
+
* @docs:
|
|
1275
|
+
* @title: Toggle Visibility
|
|
1276
|
+
* @desc: Toggles the visibility of the element by showing or hiding it based on its current state.
|
|
1277
|
+
* @return:
|
|
1278
|
+
* @description Returns the instance of the element for chaining.
|
|
1279
|
+
*/
|
|
1280
|
+
toggle_visibility(): this;
|
|
1281
|
+
/**
|
|
1282
|
+
* @docs:
|
|
1283
|
+
* @title: Inner HTML
|
|
1284
|
+
* @desc: Get or set the inner HTML of an element.
|
|
1285
|
+
* @param:
|
|
1286
|
+
* @name: value
|
|
1287
|
+
* @descr: The HTML content to set. If no value is provided, the current inner HTML is returned.
|
|
1288
|
+
* @return:
|
|
1289
|
+
* @description Returns the current inner HTML if no argument is passed, otherwise returns the instance of the element for chaining.
|
|
1290
|
+
* @funcs: 2
|
|
1291
|
+
*/
|
|
1292
|
+
inner_html(): string;
|
|
1293
|
+
inner_html(value: string): this;
|
|
1294
|
+
/**
|
|
1295
|
+
* @docs:
|
|
1296
|
+
* @title: Outer HTML
|
|
1297
|
+
* @desc: Get or set the outer HTML of the element. If no argument is passed, it returns the current outer HTML.
|
|
1298
|
+
* @param:
|
|
1299
|
+
* @name: value
|
|
1300
|
+
* @descr: The outer HTML to set.
|
|
1301
|
+
* @return:
|
|
1302
|
+
* @description Returns the instance of the element for chaining when an argument is passed, otherwise returns the current outer HTML.
|
|
1303
|
+
* @funcs: 2
|
|
1304
|
+
*/
|
|
1305
|
+
outer_html(): string;
|
|
1306
|
+
outer_html(value: string): this;
|
|
1307
|
+
/**
|
|
1308
|
+
* @docs:
|
|
1309
|
+
* @title: Styles
|
|
1310
|
+
* @desc: Retrieves the CSS attributes when no parameter is provided, or sets the styles based on the provided attributes.
|
|
1311
|
+
* @param:
|
|
1312
|
+
* @name: css_attr
|
|
1313
|
+
* @descr: The CSS attributes to set. If null, returns the current styles.
|
|
1314
|
+
* @return:
|
|
1315
|
+
* @description When no argument is passed, returns the current styles as an object. When attributes are set, returns the instance of the element for chaining.
|
|
1316
|
+
* @funcs: 2
|
|
1317
|
+
*/
|
|
1318
|
+
styles(): Record<string, string>;
|
|
1319
|
+
styles(css_attr: Record<string, any>): this;
|
|
1320
|
+
/**
|
|
1321
|
+
* @docs:
|
|
1322
|
+
* @title: Attribute
|
|
1323
|
+
* @desc: Get or set a single attribute for an element. If no value is provided, it retrieves the attribute's current value.
|
|
1324
|
+
* @param:
|
|
1325
|
+
* @name: key
|
|
1326
|
+
* @descr: The name of the attribute to get or set.
|
|
1327
|
+
* @param:
|
|
1328
|
+
* @name: value
|
|
1329
|
+
* @descr: The value to set for the attribute. If null, the current value is returned.
|
|
1330
|
+
* @return:
|
|
1331
|
+
* @description Returns the current value of the attribute if no value is provided, otherwise returns the instance of the element for chaining.
|
|
1332
|
+
* @funcs: 2
|
|
1333
|
+
*/
|
|
1334
|
+
attr(key: string): null | string;
|
|
1335
|
+
attr(key: string, value: string | number | null): this;
|
|
1336
|
+
/**
|
|
1337
|
+
* @docs:
|
|
1338
|
+
* @title: Attributes
|
|
1339
|
+
* @desc: Sets multiple attributes for the element based on the provided dictionary.
|
|
1340
|
+
* @param:
|
|
1341
|
+
* @name: html_attr
|
|
1342
|
+
* @descr: A dictionary of attributes to set on the element.
|
|
1343
|
+
* @return:
|
|
1344
|
+
* @description Returns the instance of the element for chaining.
|
|
1345
|
+
*/
|
|
1346
|
+
attrs(html_attr: Record<string, string | number | boolean>): this;
|
|
1347
|
+
/**
|
|
1348
|
+
* @docs:
|
|
1349
|
+
* @title: Event
|
|
1350
|
+
* @desc: Get or set a single event associated with the element.
|
|
1351
|
+
* If no value is provided, it retrieves the current event.
|
|
1352
|
+
* @param:
|
|
1353
|
+
* @name: key
|
|
1354
|
+
* @descr: The name of the event to get or set.
|
|
1355
|
+
* @param:
|
|
1356
|
+
* @name: value
|
|
1357
|
+
* @descr: The value to set for the event, if provided.
|
|
1358
|
+
* @return:
|
|
1359
|
+
* @description Returns the instance of the element for chaining when setting,
|
|
1360
|
+
* or the current value of the event when getting.
|
|
1361
|
+
* @funcs: 2
|
|
1362
|
+
*/
|
|
1363
|
+
event(key: string): any;
|
|
1364
|
+
event(key: string, value: any): this;
|
|
1365
|
+
/**
|
|
1366
|
+
* @docs:
|
|
1367
|
+
* @title: Events
|
|
1368
|
+
* @desc: Sets multiple event handlers on the current element using a dictionary of events.
|
|
1369
|
+
* @param:
|
|
1370
|
+
* @name: html_events
|
|
1371
|
+
* @descr: An object containing event names as keys and their corresponding handler functions as values.
|
|
1372
|
+
* @return:
|
|
1373
|
+
* @description Returns the instance of the element for chaining.
|
|
1374
|
+
*/
|
|
1375
|
+
events(html_events: {
|
|
1376
|
+
[key: string]: EventListener;
|
|
1377
|
+
}): this;
|
|
1378
|
+
/**
|
|
1379
|
+
* @docs:
|
|
1380
|
+
* @title: Class
|
|
1381
|
+
* @description:
|
|
1382
|
+
* Specifies one or more classnames for an element (refers to a class in a style sheet).
|
|
1383
|
+
* The equivalent of HTML attribute `class`.
|
|
1384
|
+
* Returns the attribute value when parameter `value` is `null`.
|
|
1385
|
+
* @param:
|
|
1386
|
+
* @name: value
|
|
1387
|
+
* @description: The value to assign. Leave `null` to retrieve the attribute's value.
|
|
1388
|
+
* @return:
|
|
1389
|
+
* @description: Returns the `VElement` object. Unless parameter `value` is `null`, then the attribute's value is returned.
|
|
1390
|
+
* @funcs: 2
|
|
1391
|
+
*/
|
|
1392
|
+
class(): string;
|
|
1393
|
+
class(value: string): this;
|
|
1394
|
+
/**
|
|
1395
|
+
* @docs:
|
|
1396
|
+
* @title: Toggle class
|
|
1397
|
+
* @description: Toggles a class name from the class list, adding it if it's not present, or removing it if it is.
|
|
1398
|
+
* @param:
|
|
1399
|
+
* @name: name
|
|
1400
|
+
* @descr: The class name to toggle.
|
|
1401
|
+
* @return:
|
|
1402
|
+
* @description: Returns the instance of the element for chaining.
|
|
1403
|
+
*/
|
|
1404
|
+
toggle_class(name: string): this;
|
|
1405
|
+
/**
|
|
1406
|
+
* @docs:
|
|
1407
|
+
* @title: Remove Class
|
|
1408
|
+
* @desc: Remove a class name from the class list of the element.
|
|
1409
|
+
* @param:
|
|
1410
|
+
* @name: name
|
|
1411
|
+
* @descr: The class name to be removed from the class list.
|
|
1412
|
+
* @return:
|
|
1413
|
+
* @description Returns the instance of the element for chaining.
|
|
1414
|
+
*/
|
|
1415
|
+
remove_class(name: string): this;
|
|
1416
|
+
/**
|
|
1417
|
+
* @docs:
|
|
1418
|
+
* @title: Remove all classes
|
|
1419
|
+
* @desc: Remove all classes from the class list.
|
|
1420
|
+
* @return:
|
|
1421
|
+
* @description Returns the instance of the element for chaining.
|
|
1422
|
+
*/
|
|
1423
|
+
remove_classes(): this;
|
|
1424
|
+
/**
|
|
1425
|
+
* @docs:
|
|
1426
|
+
* @title: Hover Brightness
|
|
1427
|
+
* @desc: Controls the brightness effects on hover for the element.
|
|
1428
|
+
* You can enable or disable the effect or specify brightness levels.
|
|
1429
|
+
* @param:
|
|
1430
|
+
* @name: mouse_down_brightness
|
|
1431
|
+
* @descr: The brightness value when the mouse is down, or a boolean to enable/disable.
|
|
1432
|
+
* @param:
|
|
1433
|
+
* @name: mouse_over_brightness
|
|
1434
|
+
* @descr: The brightness value when the mouse is over the element.
|
|
1435
|
+
* @return:
|
|
1436
|
+
* @description Returns the instance of the element for chaining when setting values, or a boolean indicating if the effect is enabled when no parameters are passed.
|
|
1437
|
+
* @funcs: 3
|
|
1438
|
+
*/
|
|
1439
|
+
hover_brightness(): boolean;
|
|
1440
|
+
hover_brightness(mouse_down_brightness: boolean): this;
|
|
1441
|
+
hover_brightness(mouse_down_brightness: number, mouse_over_brightness: number): this;
|
|
1442
|
+
private static _lastPointerPos;
|
|
1443
|
+
/**
|
|
1444
|
+
* Returns true if the mouse’s last known position lies within
|
|
1445
|
+
* this element’s bounding rectangle (including borders).
|
|
1446
|
+
*/
|
|
1447
|
+
is_mouse_over_frame(): boolean;
|
|
1448
|
+
/**
|
|
1449
|
+
* Apply on hover transitions.
|
|
1450
|
+
* @note This function also automatically sets the `transition` property for the target element. However, only when the transition attribute hasnt been set yet.
|
|
1451
|
+
* @param target The target node of which to apply
|
|
1452
|
+
* @param methods The methods to call and pass the `selected` value as arg to.
|
|
1453
|
+
* @param selected The selected hover argument value of the selected `methods`.
|
|
1454
|
+
* @param unselected The default non hover argument value of the selected `methods`.
|
|
1455
|
+
* @param methods The methods to call and pass the `selected` value as arg to.
|
|
1456
|
+
*/
|
|
1457
|
+
hover_transitions(items: {
|
|
1458
|
+
target: "this" | "self" | AnyElement;
|
|
1459
|
+
selected: any;
|
|
1460
|
+
unselected: any;
|
|
1461
|
+
methods: string[];
|
|
1462
|
+
duration?: number;
|
|
1463
|
+
easing?: string;
|
|
1464
|
+
}[]): this;
|
|
1465
|
+
/**
|
|
1466
|
+
* @docs:
|
|
1467
|
+
* @title: Text Width
|
|
1468
|
+
* @desc: Calculates the width of the provided text or the current text content if no text is provided. This is useful for measuring text width in input elements.
|
|
1469
|
+
* @param:
|
|
1470
|
+
* @name: text
|
|
1471
|
+
* @descr: The text whose width is to be measured. If null, the current text content is used.
|
|
1472
|
+
* @return:
|
|
1473
|
+
* @description Returns the width of the text in pixels.
|
|
1474
|
+
*/
|
|
1475
|
+
text_width(): number;
|
|
1476
|
+
text_width(text: string): number;
|
|
1477
|
+
/**
|
|
1478
|
+
* @docs:
|
|
1479
|
+
* @title: Media Query
|
|
1480
|
+
* @desc: Creates a media query listener that triggers provided handlers based on the media query's state.
|
|
1481
|
+
* @param:
|
|
1482
|
+
* @name: media_query
|
|
1483
|
+
* @descr: The media query string to evaluate.
|
|
1484
|
+
* @name: true_handler
|
|
1485
|
+
* @descr: The function to execute when the media query matches.
|
|
1486
|
+
* @name: false_handler
|
|
1487
|
+
* @descr: The function to execute when the media query does not match.
|
|
1488
|
+
* @return:
|
|
1489
|
+
* @description Returns the instance of the element for chaining.
|
|
1490
|
+
*/
|
|
1491
|
+
media(media_query: string, true_handler?: ElementCallback<this>, false_handler?: ElementCallback<this>): this;
|
|
1492
|
+
/**
|
|
1493
|
+
* @docs:
|
|
1494
|
+
* @title: Remove Media Query
|
|
1495
|
+
* @desc: Removes a specified media query from the element's media queries.
|
|
1496
|
+
* @param:
|
|
1497
|
+
* @name: media_query
|
|
1498
|
+
* @descr: The media query string to be removed.
|
|
1499
|
+
* @return:
|
|
1500
|
+
* @description Returns the instance of the element for chaining.
|
|
1501
|
+
*/
|
|
1502
|
+
remove_media(media_query: string): this;
|
|
1503
|
+
/**
|
|
1504
|
+
* @docs:
|
|
1505
|
+
* @title: Remove Media Queries
|
|
1506
|
+
* @desc: Removes all media queries from the element.
|
|
1507
|
+
* @return:
|
|
1508
|
+
* @description Returns the instance of the element for chaining.
|
|
1509
|
+
*/
|
|
1510
|
+
remove_medias(): this;
|
|
1511
|
+
/**
|
|
1512
|
+
* @docs:
|
|
1513
|
+
* @title: Remove All Media
|
|
1514
|
+
* @desc: Removes all media queries and their associated listeners from the element.
|
|
1515
|
+
* @return:
|
|
1516
|
+
* @description Returns the instance of the element for chaining.
|
|
1517
|
+
*/
|
|
1518
|
+
remove_all_media(): this;
|
|
1519
|
+
/**
|
|
1520
|
+
* @docs:
|
|
1521
|
+
* @title: Default Animate
|
|
1522
|
+
* @desc: Calls the animate function from the superclass with the provided arguments.
|
|
1523
|
+
* @param:
|
|
1524
|
+
* @name: args
|
|
1525
|
+
* @descr: The arguments to pass to the superclass animate function.
|
|
1526
|
+
* @return:
|
|
1527
|
+
* @description Returns the instance of the element for chaining.
|
|
1528
|
+
*/
|
|
1529
|
+
default_animate(...args: any[]): this;
|
|
1530
|
+
/**
|
|
1531
|
+
* @docs:
|
|
1532
|
+
* @title: Animate
|
|
1533
|
+
* @desc: Starts a new animation with the specified keyframes and options. Automatically resets the active animation.
|
|
1534
|
+
* @param:
|
|
1535
|
+
* @name: options
|
|
1536
|
+
* @descr: Configuration options for the animation including keyframes, duration, and callbacks.
|
|
1537
|
+
* @attr:
|
|
1538
|
+
* @name: keyframes
|
|
1539
|
+
* @description An array of keyframe objects to animate.
|
|
1540
|
+
* @name: delay
|
|
1541
|
+
* @description Delay before starting the animation in milliseconds.
|
|
1542
|
+
* @name: duration
|
|
1543
|
+
* @description Duration of each keyframe in milliseconds.
|
|
1544
|
+
* @name: repeat
|
|
1545
|
+
* @description Whether the animation should repeat infinitely.
|
|
1546
|
+
* @name: persistent
|
|
1547
|
+
* @description Whether to keep the last keyframe when the animation ends.
|
|
1548
|
+
* @name: on_finish
|
|
1549
|
+
* @description Callback function to execute when the animation finishes.
|
|
1550
|
+
* @name: easing
|
|
1551
|
+
* @description Easing function to use for the animation.
|
|
1552
|
+
* @return:
|
|
1553
|
+
* @description Returns the instance of the element for chaining.
|
|
1554
|
+
*/
|
|
1555
|
+
animate(options: {
|
|
1556
|
+
keyframes: Array<any>;
|
|
1557
|
+
delay?: number;
|
|
1558
|
+
duration?: number;
|
|
1559
|
+
repeat?: boolean;
|
|
1560
|
+
persistent?: boolean;
|
|
1561
|
+
on_finish?: ((element: any) => any) | null;
|
|
1562
|
+
easing?: string;
|
|
1563
|
+
}): this;
|
|
1564
|
+
/**
|
|
1565
|
+
* @docs:
|
|
1566
|
+
* @title: Stop Animation
|
|
1567
|
+
* @desc: Stops the currently active animation by clearing the timeout.
|
|
1568
|
+
* @return:
|
|
1569
|
+
* @description Returns the instance of the element for chaining.
|
|
1570
|
+
*/
|
|
1571
|
+
stop_animation(): this;
|
|
1572
|
+
/**
|
|
1573
|
+
* @docs:
|
|
1574
|
+
* @title: Slide Out
|
|
1575
|
+
* @desc: Animates the sliding out of an element in a specified direction with optional parameters for customization.
|
|
1576
|
+
* @param:
|
|
1577
|
+
* @name: options
|
|
1578
|
+
* @descr: Configuration options for the slide out animation.
|
|
1579
|
+
* @attr:
|
|
1580
|
+
* @name: direction
|
|
1581
|
+
* @description The direction of the slide animation.
|
|
1582
|
+
* @default: "top"
|
|
1583
|
+
* @name: distance
|
|
1584
|
+
* @description The distance in pixels for the slide animation.
|
|
1585
|
+
* @default: 100
|
|
1586
|
+
* @name: duration
|
|
1587
|
+
* @description The duration of the animation in milliseconds.
|
|
1588
|
+
* @default: 500
|
|
1589
|
+
* @name: opacity
|
|
1590
|
+
* @description Whether to animate the opacity of the element.
|
|
1591
|
+
* @default: true
|
|
1592
|
+
* @name: easing
|
|
1593
|
+
* @description The easing function for the animation.
|
|
1594
|
+
* @default: "ease"
|
|
1595
|
+
* @name: hide
|
|
1596
|
+
* @description Whether to hide the element after the animation completes.
|
|
1597
|
+
* @default: true
|
|
1598
|
+
* @name: remove
|
|
1599
|
+
* @description Whether to remove the element from the DOM after the animation completes.
|
|
1600
|
+
* @default: false
|
|
1601
|
+
* @name: display
|
|
1602
|
+
* @description The display property to set when showing the element again.
|
|
1603
|
+
* @default: null
|
|
1604
|
+
* @name: _slide_in
|
|
1605
|
+
* @description Indicates if the animation is a slide-in animation.
|
|
1606
|
+
* @default: false
|
|
1607
|
+
* @return:
|
|
1608
|
+
* @description Returns a promise that resolves when the animation completes.
|
|
1609
|
+
*/
|
|
1610
|
+
slide_out(options: {
|
|
1611
|
+
direction: string;
|
|
1612
|
+
distance: number;
|
|
1613
|
+
duration: number;
|
|
1614
|
+
opacity?: boolean;
|
|
1615
|
+
easing?: string;
|
|
1616
|
+
hide?: boolean;
|
|
1617
|
+
remove?: boolean;
|
|
1618
|
+
display?: string;
|
|
1619
|
+
_slide_in?: boolean;
|
|
1620
|
+
}): Promise<void>;
|
|
1621
|
+
/**
|
|
1622
|
+
* @docs:
|
|
1623
|
+
* @title: Slide In
|
|
1624
|
+
* @desc: Initiates a slide-in animation for the element with customizable parameters.
|
|
1625
|
+
* @param:
|
|
1626
|
+
* @name: options
|
|
1627
|
+
* @descr: Configuration options for the slide-in animation.
|
|
1628
|
+
* @attr:
|
|
1629
|
+
* @name: direction
|
|
1630
|
+
* @description The direction from which the element will slide in (e.g., "top", "bottom", "left", "right").
|
|
1631
|
+
* @name: distance
|
|
1632
|
+
* @description The distance in pixels the element will slide in.
|
|
1633
|
+
* @name: duration
|
|
1634
|
+
* @description The duration of the slide animation in milliseconds.
|
|
1635
|
+
* @name: opacity
|
|
1636
|
+
* @description A boolean indicating whether to animate the opacity during the slide.
|
|
1637
|
+
* @name: easing
|
|
1638
|
+
* @description The easing function to use for the animation.
|
|
1639
|
+
* @name: display
|
|
1640
|
+
* @description An optional display property to use when showing the view again.
|
|
1641
|
+
* @return:
|
|
1642
|
+
* @description Returns a promise that resolves when the slide-in animation is complete.
|
|
1643
|
+
*/
|
|
1644
|
+
slide_in({ direction, distance, duration, opacity, easing, display, }: {
|
|
1645
|
+
direction?: string;
|
|
1646
|
+
distance?: number;
|
|
1647
|
+
duration?: number;
|
|
1648
|
+
opacity?: boolean;
|
|
1649
|
+
easing?: string;
|
|
1650
|
+
display?: string;
|
|
1651
|
+
}): Promise<any>;
|
|
1652
|
+
/**
|
|
1653
|
+
* @docs:
|
|
1654
|
+
* @title: Dropdown Text Animation
|
|
1655
|
+
* @desc: Animates the text of a dropdown element with a specified animation effect.
|
|
1656
|
+
* It allows for customization of distance, duration, and easing for each character.
|
|
1657
|
+
* @warning: Causes undefined behaviour when called on a non text element.
|
|
1658
|
+
* @param:
|
|
1659
|
+
* @name: options
|
|
1660
|
+
* @descr: An object containing animation settings.
|
|
1661
|
+
* @attr:
|
|
1662
|
+
* @name: distance
|
|
1663
|
+
* @description The distance of pixels of the drop (negative) or rise (positive).
|
|
1664
|
+
* @name: duration
|
|
1665
|
+
* @description The duration of each individual character drop animation in milliseconds.
|
|
1666
|
+
* @name: opacity_duration
|
|
1667
|
+
* @description The factor for the duration in relation to the dropdown duration, 1.0 for 100%.
|
|
1668
|
+
* @name: total_duration
|
|
1669
|
+
* @description The total duration of the character drop animation, this parameter will overwrite the `duration` parameter.
|
|
1670
|
+
* @name: delay
|
|
1671
|
+
* @description The delay in milliseconds for each character drop.
|
|
1672
|
+
* @name: start_delay
|
|
1673
|
+
* @description The start delay of the animation in milliseconds.
|
|
1674
|
+
* @name: easing
|
|
1675
|
+
* @description The animation's easing.
|
|
1676
|
+
* @return:
|
|
1677
|
+
* @description Returns a promise that resolves when the animation is complete.
|
|
1678
|
+
*/
|
|
1679
|
+
dropdown_animation({ distance, duration, opacity_duration, total_duration, delay, start_delay, easing, }?: {
|
|
1680
|
+
distance?: string;
|
|
1681
|
+
duration?: number;
|
|
1682
|
+
opacity_duration?: number;
|
|
1683
|
+
total_duration?: number;
|
|
1684
|
+
delay?: number;
|
|
1685
|
+
start_delay?: number;
|
|
1686
|
+
easing?: string;
|
|
1687
|
+
}): Promise<void>;
|
|
1688
|
+
/**
|
|
1689
|
+
* @docs:
|
|
1690
|
+
* @title: Increment Number Animation
|
|
1691
|
+
* @desc: Animate incrementing a number with optional prefix and suffix.
|
|
1692
|
+
* @warning: Causes undefined behaviour when called on a non text element.
|
|
1693
|
+
* @param:
|
|
1694
|
+
* @name: start
|
|
1695
|
+
* @descr: The start number for the animation.
|
|
1696
|
+
* @param:
|
|
1697
|
+
* @name: end
|
|
1698
|
+
* @descr: The end number, the animation will end with the number value of `end - 1`.
|
|
1699
|
+
* @param:
|
|
1700
|
+
* @name: duration
|
|
1701
|
+
* @descr: The duration of each individual number increment in milliseconds.
|
|
1702
|
+
* @param:
|
|
1703
|
+
* @name: total_duration
|
|
1704
|
+
* @descr: The total duration of the entire animation, parameter `total_duration` precedes parameter `duration`.
|
|
1705
|
+
* @param:
|
|
1706
|
+
* @name: delay
|
|
1707
|
+
* @descr: The delay until the animation starts in milliseconds.
|
|
1708
|
+
* @param:
|
|
1709
|
+
* @name: prefix
|
|
1710
|
+
* @descr: The prefix string to prepend to the animated number.
|
|
1711
|
+
* @param:
|
|
1712
|
+
* @name: suffix
|
|
1713
|
+
* @descr: The suffix string to append to the animated number.
|
|
1714
|
+
* @return:
|
|
1715
|
+
* @descr: Returns a promise that resolves when the animation completes.
|
|
1716
|
+
*/
|
|
1717
|
+
increment_number_animation({ start, end, duration, total_duration, delay, prefix, suffix, }?: {
|
|
1718
|
+
start?: number;
|
|
1719
|
+
end?: number;
|
|
1720
|
+
duration?: number;
|
|
1721
|
+
total_duration?: number;
|
|
1722
|
+
delay?: number;
|
|
1723
|
+
prefix?: string;
|
|
1724
|
+
suffix?: string;
|
|
1725
|
+
}): Promise<void>;
|
|
1726
|
+
fade_out_top(size?: number): this;
|
|
1727
|
+
fade_out_right(size?: number): this;
|
|
1728
|
+
fade_out_bottom(size?: number): this;
|
|
1729
|
+
fade_out_left(size?: number): this;
|
|
1730
|
+
on(type: keyof HTMLElementEventMap, callback: (element: this, event: HTMLElementEventMap[keyof HTMLElementEventMap]) => any, options?: boolean | AddEventListenerOptions): this;
|
|
1731
|
+
on_event_listener<K extends keyof HTMLElementEventMap>(type: K, callback: (element: this, event: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): this;
|
|
1732
|
+
/**
|
|
1733
|
+
* @docs:
|
|
1734
|
+
* @title: On emit
|
|
1735
|
+
* @desc: Registers an event callback for the specified event ID. This allows the element to respond to events.
|
|
1736
|
+
* @param:
|
|
1737
|
+
* @name: id
|
|
1738
|
+
* @descr: The unique identifier for the event to listen for.
|
|
1739
|
+
* @name: callback
|
|
1740
|
+
* @descr: The function to be executed when the event is triggered.
|
|
1741
|
+
* @return:
|
|
1742
|
+
* @description Returns the instance of the element for chaining.
|
|
1743
|
+
*/
|
|
1744
|
+
on_emit(id: string, callback: (element: this, args: Record<string, any>) => any): this;
|
|
1745
|
+
/**
|
|
1746
|
+
* @docs:
|
|
1747
|
+
* @title: Remove On Event
|
|
1748
|
+
* @desc: Removes an event listener for the specified event ID.
|
|
1749
|
+
* @param:
|
|
1750
|
+
* @name: id
|
|
1751
|
+
* @descr: The identifier for the event to remove.
|
|
1752
|
+
* @param:
|
|
1753
|
+
* @name: callback
|
|
1754
|
+
* @descr: The function that was originally registered as the event handler.
|
|
1755
|
+
* @return:
|
|
1756
|
+
* @description Returns the instance of the element for chaining.
|
|
1757
|
+
*/
|
|
1758
|
+
remove_on_event(id: string, callback: (element: this, args: Record<string, any>) => any): this;
|
|
1759
|
+
/**
|
|
1760
|
+
* @docs:
|
|
1761
|
+
* @title: Remove On Events
|
|
1762
|
+
* @desc: Removes all event callbacks associated with the given ID.
|
|
1763
|
+
* @param:
|
|
1764
|
+
* @name: id
|
|
1765
|
+
* @descr: The identifier for the events to be removed.
|
|
1766
|
+
* @return:
|
|
1767
|
+
* @description Returns the instance of the element for chaining.
|
|
1768
|
+
*/
|
|
1769
|
+
remove_on_events(id: string): this;
|
|
1770
|
+
/**
|
|
1771
|
+
* @docs:
|
|
1772
|
+
* @title: Timeout
|
|
1773
|
+
* @desc: Sets a timeout with optional id and debounce functionality.
|
|
1774
|
+
* @param:
|
|
1775
|
+
* @name: delay
|
|
1776
|
+
* @descr: The time in milliseconds to wait before executing the callback.
|
|
1777
|
+
* @name: callback
|
|
1778
|
+
* @descr: The function to execute after the timeout.
|
|
1779
|
+
* @name: options
|
|
1780
|
+
* @descr: Optional settings for the timeout behavior.
|
|
1781
|
+
* @attr:
|
|
1782
|
+
* @name: id
|
|
1783
|
+
* @description An optional identifier for the timeout.
|
|
1784
|
+
* @name: debounce
|
|
1785
|
+
* @description If true, clears the previous timeout with the same id.
|
|
1786
|
+
* @return:
|
|
1787
|
+
* @description Returns the instance of the element for chaining.
|
|
1788
|
+
*/
|
|
1789
|
+
timeout(delay: number, callback: ElementCallback<this>, options?: {
|
|
1790
|
+
id?: string;
|
|
1791
|
+
debounce?: boolean;
|
|
1792
|
+
} | null): this;
|
|
1793
|
+
/**
|
|
1794
|
+
* @docs:
|
|
1795
|
+
* @title: Clear Timeout
|
|
1796
|
+
* @desc: Clears a cached timeout by its ID. If timeouts are not initialized, they will be set up.
|
|
1797
|
+
* @param:
|
|
1798
|
+
* @name: id
|
|
1799
|
+
* @descr: The ID of the timeout to clear.
|
|
1800
|
+
* @return:
|
|
1801
|
+
* @description Returns the instance of the element for chaining.
|
|
1802
|
+
*/
|
|
1803
|
+
clear_timeout(id: string | number): this;
|
|
1804
|
+
private _disabled_cursor?;
|
|
1805
|
+
/**
|
|
1806
|
+
* @docs:
|
|
1807
|
+
* @title: Disable Button
|
|
1808
|
+
* @desc: Disables the button element, preventing user interaction.
|
|
1809
|
+
* @return:
|
|
1810
|
+
* @description Returns the instance of the element for chaining.
|
|
1811
|
+
*/
|
|
1812
|
+
disable(): this;
|
|
1813
|
+
/**
|
|
1814
|
+
* @docs:
|
|
1815
|
+
* @title: Enable Button
|
|
1816
|
+
* @desc: Enables the button by setting the disabled state to false.
|
|
1817
|
+
* @return:
|
|
1818
|
+
* @description Returns the instance of the element for chaining.
|
|
1819
|
+
*/
|
|
1820
|
+
enable(): this;
|
|
1821
|
+
/**
|
|
1822
|
+
* @docs:
|
|
1823
|
+
* @title: On Click
|
|
1824
|
+
* @desc: Sets a click event handler for the element, allowing for optional simulated href behavior.
|
|
1825
|
+
* @param:
|
|
1826
|
+
* @name: simulate_href
|
|
1827
|
+
* @descr: The simulated href to set for the element (for SEO in SPAs).
|
|
1828
|
+
* @name: callback
|
|
1829
|
+
* @descr: The function to be called when the element is clicked.
|
|
1830
|
+
* @return:
|
|
1831
|
+
* @description Returns the instance of the element for chaining when an argument is passed, otherwise returns the current onclick handler.
|
|
1832
|
+
* @funcs: 2
|
|
1833
|
+
*/
|
|
1834
|
+
/**
|
|
1835
|
+
* @warning NEVER change that this overrides the last on click callback
|
|
1836
|
+
* Volt & libris depend on this behaviour.
|
|
1837
|
+
* Let users add multiple etc using the `on()` method.
|
|
1838
|
+
*/
|
|
1839
|
+
on_click(): null | Function;
|
|
1840
|
+
on_click(simulate_href: string | null, callback: Function): this;
|
|
1841
|
+
on_click(callback?: Function): this;
|
|
1842
|
+
/**
|
|
1843
|
+
* @docs:
|
|
1844
|
+
* @title: On Click Redirect
|
|
1845
|
+
* @desc: Sets up a click event that redirects to the specified URL when triggered.
|
|
1846
|
+
* @param:
|
|
1847
|
+
* @name: url
|
|
1848
|
+
* @descr: The URL to redirect to when the click event occurs.
|
|
1849
|
+
* @return:
|
|
1850
|
+
* @descr: Returns the instance of the element for chaining.
|
|
1851
|
+
*/
|
|
1852
|
+
on_click_redirect(url: string): this;
|
|
1853
|
+
/**
|
|
1854
|
+
* @docs:
|
|
1855
|
+
* @title: On Scroll
|
|
1856
|
+
* @description:
|
|
1857
|
+
* Script to be run when an element's scrollbar is being scrolled.
|
|
1858
|
+
* The equivalent of HTML attribute `onscroll`. The first parameter of the callback is the `VElement` object.
|
|
1859
|
+
* Returns the attribute value when parameter `value` is `null`.
|
|
1860
|
+
* @param:
|
|
1861
|
+
* @name: opts_or_callback
|
|
1862
|
+
* @description: Options or callback function to assign for the scroll event.
|
|
1863
|
+
* @attr:
|
|
1864
|
+
* @name: callback
|
|
1865
|
+
* @description Function to be called on scroll.
|
|
1866
|
+
* @name: delay
|
|
1867
|
+
* @description Delay in milliseconds before executing the callback.
|
|
1868
|
+
* @return:
|
|
1869
|
+
* @description: Returns the `VElement` object. Unless parameter `value` is `null`, then the attribute's value is returned.
|
|
1870
|
+
*/
|
|
1871
|
+
on_scroll(): (EventListener | null);
|
|
1872
|
+
on_scroll(opts_or_callback: Function | {
|
|
1873
|
+
callback: (element: any, event: Event) => any;
|
|
1874
|
+
delay?: number;
|
|
1875
|
+
}): this;
|
|
1876
|
+
/**
|
|
1877
|
+
* @docs:
|
|
1878
|
+
* @title: On Resize
|
|
1879
|
+
* @desc: Script to be run when the browser window is being resized.
|
|
1880
|
+
* This allows for a callback to be executed upon resizing the window.
|
|
1881
|
+
* @param:
|
|
1882
|
+
* @name: callback
|
|
1883
|
+
* @descr: The function to be called when the window is resized.
|
|
1884
|
+
* @param:
|
|
1885
|
+
* @name: once
|
|
1886
|
+
* @descr: If true, the callback will only be executed once after the last resize event.
|
|
1887
|
+
* @param:
|
|
1888
|
+
* @name: delay
|
|
1889
|
+
* @descr: The delay in milliseconds before executing the callback.
|
|
1890
|
+
* @return:
|
|
1891
|
+
* @description Returns the instance of the element for chaining.
|
|
1892
|
+
*/
|
|
1893
|
+
on_window_resize(): null | Function;
|
|
1894
|
+
on_window_resize(opts: Function | {
|
|
1895
|
+
callback?: Function;
|
|
1896
|
+
once?: boolean;
|
|
1897
|
+
delay?: number;
|
|
1898
|
+
}): this;
|
|
1899
|
+
/**
|
|
1900
|
+
* {Attachment Drop}
|
|
1901
|
+
*
|
|
1902
|
+
* Custom on attachment drop event handling.
|
|
1903
|
+
* This function sets up event listeners for drag and drop actions.
|
|
1904
|
+
* Also pushes the attachment to attribute field `attachments`.
|
|
1905
|
+
*
|
|
1906
|
+
* When a directory is dropped, all files within the directory are added recursively.
|
|
1907
|
+
*
|
|
1908
|
+
* @param options Configuration options for the drop event, see {@link Attachment.OnDropOpts} for more information.
|
|
1909
|
+
*
|
|
1910
|
+
* @returns The instance of the element for chaining.
|
|
1911
|
+
*
|
|
1912
|
+
* @docs
|
|
1913
|
+
*/
|
|
1914
|
+
on_attachment_drop(options: Attachment.OnDropOpts): this;
|
|
1915
|
+
/**
|
|
1916
|
+
* Add an attachment to the attachments array, if not already added.
|
|
1917
|
+
* @param attachment The attachment to add.
|
|
1918
|
+
* @returns The instance of the element for chaining.
|
|
1919
|
+
*/
|
|
1920
|
+
add_attachment(attachment: Attachment): this;
|
|
1921
|
+
/**
|
|
1922
|
+
* Remove an attachment from the attachments array.
|
|
1923
|
+
* @param attachment The attachment to remove.
|
|
1924
|
+
* @returns The instance of the element for chaining.
|
|
1925
|
+
*/
|
|
1926
|
+
remove_attachment(attachment: Attachment): this;
|
|
1927
|
+
/**
|
|
1928
|
+
* @docs:
|
|
1929
|
+
* @title: On Appear
|
|
1930
|
+
* @desc: Sets a callback to be executed when the element appears in the viewport.
|
|
1931
|
+
* @param:
|
|
1932
|
+
* @name: callback_or_opts
|
|
1933
|
+
* @descr: Can be a callback function or an options object containing callback, repeat, and threshold.
|
|
1934
|
+
* @attr:
|
|
1935
|
+
* @name: callback
|
|
1936
|
+
* @description The function to call when the element appears.
|
|
1937
|
+
* @name: repeat
|
|
1938
|
+
* @description If true, the callback will be called every time the element appears.
|
|
1939
|
+
* @name: threshold
|
|
1940
|
+
* @description The intersection ratio threshold to trigger the callback.
|
|
1941
|
+
* @return:
|
|
1942
|
+
* @description Returns the instance of the element for chaining.
|
|
1943
|
+
*/
|
|
1944
|
+
on_appear<T = this>(callback: OnAppearCallback<T>): this;
|
|
1945
|
+
on_appear<T = this>(options: {
|
|
1946
|
+
callback: OnAppearCallback<T>;
|
|
1947
|
+
repeat?: boolean;
|
|
1948
|
+
threshold?: number | null;
|
|
1949
|
+
}): this;
|
|
1950
|
+
/**
|
|
1951
|
+
* @docs:
|
|
1952
|
+
* @title: On Disappear
|
|
1953
|
+
* @desc: Sets up an event listener that triggers a callback when the element disappears from the user's view.
|
|
1954
|
+
* @experimental: true
|
|
1955
|
+
* @param:
|
|
1956
|
+
* @name: callback_or_opts
|
|
1957
|
+
* @descr: Can be a callback function or an options object containing the callback and repeat settings.
|
|
1958
|
+
* @attr:
|
|
1959
|
+
* @name: callback
|
|
1960
|
+
* @description The function to call when the element disappears.
|
|
1961
|
+
* @name: repeat
|
|
1962
|
+
* @description Whether to repeat the observation after the callback is triggered.
|
|
1963
|
+
* @return:
|
|
1964
|
+
* @description Returns the instance of the element for chaining.
|
|
1965
|
+
*/
|
|
1966
|
+
on_disappear<T = this>(callback_or_opts?: ((element: T) => any) | {
|
|
1967
|
+
callback?: (element: T) => any;
|
|
1968
|
+
repeat?: boolean;
|
|
1969
|
+
}): this;
|
|
1970
|
+
/**
|
|
1971
|
+
* @docs:
|
|
1972
|
+
* @title: On Enter
|
|
1973
|
+
* @desc: Sets a callback function to be executed when the Enter key is pressed on input or textarea elements.
|
|
1974
|
+
* @param:
|
|
1975
|
+
* @name: callback
|
|
1976
|
+
* @descr: The function to be called when the Enter key is pressed.
|
|
1977
|
+
* @return:
|
|
1978
|
+
* @description Returns the instance of the element for chaining.
|
|
1979
|
+
*/
|
|
1980
|
+
on_enter(): undefined | ElementKeyboardEvent<this>;
|
|
1981
|
+
on_enter(callback: ElementKeyboardEvent<this>): this;
|
|
1982
|
+
/**
|
|
1983
|
+
* @docs:
|
|
1984
|
+
* @title: On Escape
|
|
1985
|
+
* @desc: Sets a callback function to be triggered when the Escape key is pressed.
|
|
1986
|
+
* @param:
|
|
1987
|
+
* @name: callback
|
|
1988
|
+
* @descr: The function to be called when the Escape key is pressed.
|
|
1989
|
+
* @return:
|
|
1990
|
+
* @description Returns the instance of the element for chaining.
|
|
1991
|
+
*/
|
|
1992
|
+
on_escape(): undefined | ElementKeyboardEvent<this>;
|
|
1993
|
+
on_escape(callback: ElementKeyboardEvent<this>): this;
|
|
1994
|
+
/**
|
|
1995
|
+
* @docs:
|
|
1996
|
+
* @title: On Theme Update
|
|
1997
|
+
* @desc: Manages theme update callbacks. If no callback is provided, it returns the current callbacks.
|
|
1998
|
+
* @param:
|
|
1999
|
+
* @name: callback
|
|
2000
|
+
* @descr: A function to be called on theme updates or null to retrieve existing callbacks.
|
|
2001
|
+
* @return:
|
|
2002
|
+
* @description Returns the instance of the element for chaining when a callback is provided, or the array of existing callbacks if null is passed.
|
|
2003
|
+
* @funcs: 2
|
|
2004
|
+
*/
|
|
2005
|
+
on_theme_update(): ThemeUpdateCallback<this>[];
|
|
2006
|
+
on_theme_update(callback: ThemeUpdateCallback<this>): this;
|
|
2007
|
+
/**
|
|
2008
|
+
* @docs:
|
|
2009
|
+
* @title: Remove on Theme Update
|
|
2010
|
+
* @desc: Removes a callback from the theme update listeners.
|
|
2011
|
+
* @param:
|
|
2012
|
+
* @name: callback
|
|
2013
|
+
* @descr: The callback function to be removed from the listeners.
|
|
2014
|
+
* @return:
|
|
2015
|
+
* @description Returns the instance of the element for chaining.
|
|
2016
|
+
*/
|
|
2017
|
+
remove_on_theme_update(callback: ThemeUpdateCallback<this>): this;
|
|
2018
|
+
/**
|
|
2019
|
+
* @docs:
|
|
2020
|
+
* @title: Remove on Theme Updates
|
|
2021
|
+
* @desc: Clears the list of theme update callbacks if they exist.
|
|
2022
|
+
* @return:
|
|
2023
|
+
* @description Returns the instance of the element for chaining.
|
|
2024
|
+
*/
|
|
2025
|
+
remove_on_theme_updates(): this;
|
|
2026
|
+
/**
|
|
2027
|
+
* @docs:
|
|
2028
|
+
* @title: On Render
|
|
2029
|
+
* @desc: Manages callbacks that are triggered when the element is added to the body.
|
|
2030
|
+
* @param:
|
|
2031
|
+
* @name: callback
|
|
2032
|
+
* @descr: A function to be called when the element is rendered. If no argument is passed, it returns the current callbacks.
|
|
2033
|
+
* @return:
|
|
2034
|
+
* @description When a callback is provided, returns the instance of the element for chaining. If no callback is provided, returns the array of current callbacks.
|
|
2035
|
+
* @funcs: 2
|
|
2036
|
+
*/
|
|
2037
|
+
on_render(): (ElementCallback<this>)[];
|
|
2038
|
+
on_render(callback: ElementCallback<this>): this;
|
|
2039
|
+
/**
|
|
2040
|
+
* @docs:
|
|
2041
|
+
* @title: Remove on Render
|
|
2042
|
+
* @desc: Removes a callback from the on render callbacks array and stops observing if empty.
|
|
2043
|
+
* @param:
|
|
2044
|
+
* @name: callback
|
|
2045
|
+
* @descr: The callback function to remove from the on render callbacks.
|
|
2046
|
+
* @return:
|
|
2047
|
+
* @description Returns the instance of the element for chaining.
|
|
2048
|
+
*/
|
|
2049
|
+
remove_on_render(callback: ElementCallback<this>): this;
|
|
2050
|
+
/**
|
|
2051
|
+
* @docs:
|
|
2052
|
+
* @title: Remove On Renders
|
|
2053
|
+
* @desc: Clears the on render callbacks and stops observing the element for render events.
|
|
2054
|
+
* @return:
|
|
2055
|
+
* @description Returns the instance of the element for chaining.
|
|
2056
|
+
*/
|
|
2057
|
+
remove_on_renders(): this;
|
|
2058
|
+
/**
|
|
2059
|
+
* @docs:
|
|
2060
|
+
* @title: Is Rendered
|
|
2061
|
+
* @desc: Checks whether the element has been rendered or not.
|
|
2062
|
+
* @return:
|
|
2063
|
+
* @description Returns true if the element has been rendered, otherwise false.
|
|
2064
|
+
*/
|
|
2065
|
+
is_rendered(): boolean;
|
|
2066
|
+
/**
|
|
2067
|
+
* @docs:
|
|
2068
|
+
* @title: On Load
|
|
2069
|
+
* @desc: Registers a callback to be executed when the entire page is fully loaded.
|
|
2070
|
+
* Note that this event will not fire if the `window.onload` callback is overwritten.
|
|
2071
|
+
* @param:
|
|
2072
|
+
* @name: callback
|
|
2073
|
+
* @descr: The function to be executed on load.
|
|
2074
|
+
* @return:
|
|
2075
|
+
* @description Returns the instance of the element for chaining.
|
|
2076
|
+
*/
|
|
2077
|
+
on_load(callback: (element: this, args: Record<string, any>) => any): this;
|
|
2078
|
+
/**
|
|
2079
|
+
* @docs:
|
|
2080
|
+
* @title: Remove on Load
|
|
2081
|
+
* @desc: Removes a callback function from the "volt.on_load" event.
|
|
2082
|
+
* @param:
|
|
2083
|
+
* @name: callback
|
|
2084
|
+
* @descr: The function to be removed from the event listener.
|
|
2085
|
+
* @return:
|
|
2086
|
+
* @descr: Returns the instance of the element for chaining.
|
|
2087
|
+
*/
|
|
2088
|
+
remove_on_load(callback: (element: this, args: Record<string, any>) => any): this;
|
|
2089
|
+
/**
|
|
2090
|
+
* @docs:
|
|
2091
|
+
* @title: Remove On Loads
|
|
2092
|
+
* @desc: Removes the on_load event listener from the instance.
|
|
2093
|
+
* @return:
|
|
2094
|
+
* @description Returns the instance of the element for chaining.
|
|
2095
|
+
*/
|
|
2096
|
+
remove_on_loads(): this;
|
|
2097
|
+
/**
|
|
2098
|
+
* @docs:
|
|
2099
|
+
* @title: On Resize
|
|
2100
|
+
* @desc: Manages callbacks for the resize event. Can retrieve existing callbacks or add new ones.
|
|
2101
|
+
* @param:
|
|
2102
|
+
* @name: callback
|
|
2103
|
+
* @descr: The callback function to be executed on resize events.
|
|
2104
|
+
* @return:
|
|
2105
|
+
* @descr: When a callback is provided, returns the instance for chaining. Otherwise, returns the list of existing resize callbacks.
|
|
2106
|
+
* @funcs: 2
|
|
2107
|
+
*/
|
|
2108
|
+
on_resize(): (ElementCallback<this>)[];
|
|
2109
|
+
on_resize(callback: ElementCallback<this>): this;
|
|
2110
|
+
/**
|
|
2111
|
+
* @docs:
|
|
2112
|
+
* @title: Remove on Resize
|
|
2113
|
+
* @desc: Removes a callback from the resize event listeners. If no callbacks remain, it stops observing resize events.
|
|
2114
|
+
* @param:
|
|
2115
|
+
* @name: callback
|
|
2116
|
+
* @descr: The callback function to remove from the resize event listeners.
|
|
2117
|
+
* @return:
|
|
2118
|
+
* @description Returns the instance of the element for chaining.
|
|
2119
|
+
*/
|
|
2120
|
+
remove_on_resize(callback: ElementCallback<this>): this;
|
|
2121
|
+
/**
|
|
2122
|
+
* @docs:
|
|
2123
|
+
* @title: Remove on Resizes
|
|
2124
|
+
* @desc: Removes all resize callbacks and stops observing resize events for this element.
|
|
2125
|
+
* @param:
|
|
2126
|
+
* @name: callback
|
|
2127
|
+
* @descr: A callback function to be removed from the resize callbacks.
|
|
2128
|
+
* @return:
|
|
2129
|
+
* @description Returns the instance of the element for chaining.
|
|
2130
|
+
*/
|
|
2131
|
+
remove_on_resizes(): this;
|
|
2132
|
+
/**
|
|
2133
|
+
* @docs:
|
|
2134
|
+
* @title: On Resize Rule
|
|
2135
|
+
* @desc: Adds an on resize rule event that executes callbacks based on evaluation changes during a resize event.
|
|
2136
|
+
* @note: This function adds an `on_resize` callback.
|
|
2137
|
+
* @param:
|
|
2138
|
+
* @name: evaluation
|
|
2139
|
+
* @descr: The function to evaluate if the statement is true, the element node is passed as the first argument.
|
|
2140
|
+
* @param:
|
|
2141
|
+
* @name: on_true
|
|
2142
|
+
* @descr: The callback executed if the statement is true, the element node is passed as the first argument.
|
|
2143
|
+
* @param:
|
|
2144
|
+
* @name: on_false
|
|
2145
|
+
* @descr: The callback executed if the statement is false, the element node is passed as the first argument.
|
|
2146
|
+
* @return:
|
|
2147
|
+
* @descr: Returns the instance of the element for chaining.
|
|
2148
|
+
*/
|
|
2149
|
+
on_resize_rule(evaluation: (element: this) => boolean, on_true?: ElementCallback<this>, on_false?: ElementCallback<this>): this;
|
|
2150
|
+
/**
|
|
2151
|
+
* @docs:
|
|
2152
|
+
* @title: On Shortcut
|
|
2153
|
+
* @desc: Create key shortcuts for the element. This function takes an array of shortcut objects that define the key combinations and their associated actions.
|
|
2154
|
+
* @param:
|
|
2155
|
+
* @name: shortcuts
|
|
2156
|
+
* @descr: The array with shortcuts. Each shortcut object may have various attributes to define the key matching criteria and actions.
|
|
2157
|
+
* @return:
|
|
2158
|
+
* @descr: This function does not return a value.
|
|
2159
|
+
*/
|
|
2160
|
+
on_shortcut(shortcuts?: {
|
|
2161
|
+
match?: (event: KeyboardEvent, key: string, shortcut: any) => boolean;
|
|
2162
|
+
key?: string;
|
|
2163
|
+
keys?: string[];
|
|
2164
|
+
keycode?: number;
|
|
2165
|
+
keycodes?: number[];
|
|
2166
|
+
or?: boolean;
|
|
2167
|
+
duration?: number;
|
|
2168
|
+
shift?: boolean;
|
|
2169
|
+
alt?: boolean;
|
|
2170
|
+
ctrl?: boolean;
|
|
2171
|
+
allow_other_modifiers?: boolean;
|
|
2172
|
+
callback: (element: any, event: KeyboardEvent) => any;
|
|
2173
|
+
}[]): this;
|
|
2174
|
+
/**
|
|
2175
|
+
* MOVED docs:
|
|
2176
|
+
* @title: On Context Menu
|
|
2177
|
+
* @desc:
|
|
2178
|
+
* Script to be run when a context menu is triggered. This function can set or get the context menu callback.
|
|
2179
|
+
* @param:
|
|
2180
|
+
* @name: callback
|
|
2181
|
+
* @descr:
|
|
2182
|
+
* The parameter may either be a callback function, a ContextMenu object, or an Array as the ContextMenu parameter.
|
|
2183
|
+
* @return:
|
|
2184
|
+
* @description Returns the `VElement` object. If `callback` is `null`, then the attribute's value is returned.
|
|
2185
|
+
* @funcs: 2
|
|
2186
|
+
*/
|
|
2187
|
+
/**
|
|
2188
|
+
* @docs:
|
|
2189
|
+
* @title: On Mouse Enter
|
|
2190
|
+
* @desc: Sets a callback function to be called when the mouse enters the element.
|
|
2191
|
+
* @param:
|
|
2192
|
+
* @name: callback
|
|
2193
|
+
* @descr: The function to be called on mouse enter.
|
|
2194
|
+
* @return:
|
|
2195
|
+
* @descr: When a callback is provided, returns the instance of the element for chaining. If no callback is provided, returns the current callback.
|
|
2196
|
+
* @funcs: 2
|
|
2197
|
+
*/
|
|
2198
|
+
on_mouse_enter(): ElementMouseEvent<this>;
|
|
2199
|
+
on_mouse_enter(callback: ElementMouseEvent<this>): this;
|
|
2200
|
+
/**
|
|
2201
|
+
* @docs:
|
|
2202
|
+
* @title: On Mouse Leave
|
|
2203
|
+
* @desc: Sets or retrieves the callback function to be called when the mouse leaves the element.
|
|
2204
|
+
* @param:
|
|
2205
|
+
* @name: callback
|
|
2206
|
+
* @descr: The function to execute when the mouse leaves the element.
|
|
2207
|
+
* @return:
|
|
2208
|
+
* @description When an argument is passed this function returns the instance of the element for chaining. Otherwise, it returns the currently set callback function.
|
|
2209
|
+
* @funcs: 2
|
|
2210
|
+
*/
|
|
2211
|
+
on_mouse_leave(): ElementMouseEvent<this>;
|
|
2212
|
+
on_mouse_leave(callback: ElementMouseEvent<this>): this;
|
|
2213
|
+
/**
|
|
2214
|
+
* @docs:
|
|
2215
|
+
* @title: On mouse over and out
|
|
2216
|
+
* @desc: Set callbacks for the on mouse over and mouse out events.
|
|
2217
|
+
* @param:
|
|
2218
|
+
* @name: mouse_over
|
|
2219
|
+
* @descr: The mouse over callback.
|
|
2220
|
+
* @param:
|
|
2221
|
+
* @name: mouse_out
|
|
2222
|
+
* @descr: The mouse out callback.
|
|
2223
|
+
* @return:
|
|
2224
|
+
* @description Returns the instance of the element for chaining.
|
|
2225
|
+
*/
|
|
2226
|
+
on_mouse_over_out(mouse_over: ElementMouseEvent<this>, mouse_out: ElementMouseEvent<this>): this;
|
|
2227
|
+
/**
|
|
2228
|
+
* @docs:
|
|
2229
|
+
* @title: First Child
|
|
2230
|
+
* @desc: Retrieves the first child of the element.
|
|
2231
|
+
* @return:
|
|
2232
|
+
* @description Returns the first child node of the element, or null if there are no children.
|
|
2233
|
+
*/
|
|
2234
|
+
first_child(): Node | null;
|
|
2235
|
+
/**
|
|
2236
|
+
* @docs:
|
|
2237
|
+
* @title: Last Child
|
|
2238
|
+
* @desc: Retrieves the last child of the element.
|
|
2239
|
+
* @return:
|
|
2240
|
+
* @description Returns the last child node of the element, or null if there are no children.
|
|
2241
|
+
*/
|
|
2242
|
+
last_child(): ChildNode | null;
|
|
2243
|
+
/**
|
|
2244
|
+
* @docs:
|
|
2245
|
+
* @title: Iterate Children
|
|
2246
|
+
* @desc: Iterates over the children of an element, executing a handler function for each child.
|
|
2247
|
+
* @param:
|
|
2248
|
+
* @name: start
|
|
2249
|
+
* @descr: The starting index for iteration, or a handler function.
|
|
2250
|
+
* @name: end
|
|
2251
|
+
* @descr: The ending index for iteration.
|
|
2252
|
+
* @name: handler
|
|
2253
|
+
* @descr: The function to execute for each child.
|
|
2254
|
+
* @return:
|
|
2255
|
+
* @description Returns the result of the handler function if not null, otherwise returns null.
|
|
2256
|
+
* @funcs: 2
|
|
2257
|
+
*/
|
|
2258
|
+
iterate(start: number | ((child: any, index: number) => any), end?: number, handler?: (child: any, index: number) => any): any;
|
|
2259
|
+
/**
|
|
2260
|
+
* @docs:
|
|
2261
|
+
* @title: Iterate Child Nodes
|
|
2262
|
+
* @desc: Iterates over the child nodes of an element, executing a handler function for each node.
|
|
2263
|
+
* @param:
|
|
2264
|
+
* @name: start
|
|
2265
|
+
* @descr: The starting index for iteration, or a handler function.
|
|
2266
|
+
* @name: end
|
|
2267
|
+
* @descr: The ending index for iteration.
|
|
2268
|
+
* @name: handler
|
|
2269
|
+
* @descr: The function to execute for each child node.
|
|
2270
|
+
* @return:
|
|
2271
|
+
* @description Returns the result of the handler function if not null, otherwise returns null.
|
|
2272
|
+
* @funcs: 2
|
|
2273
|
+
*/
|
|
2274
|
+
iterate_nodes(start: number | ((node: any, index: number) => any), end?: number, handler?: (node: any, index: number) => any): any;
|
|
2275
|
+
/**
|
|
2276
|
+
* @docs:
|
|
2277
|
+
* @title: Set Default
|
|
2278
|
+
* @desc: Sets the current element as the default, allowing for a specific type to be set.
|
|
2279
|
+
* @param:
|
|
2280
|
+
* @name: Type
|
|
2281
|
+
* @descr: The type to set as default, defaults to VElement if null.
|
|
2282
|
+
* @return:
|
|
2283
|
+
* @description Returns the instance of the element for chaining.
|
|
2284
|
+
*/
|
|
2285
|
+
set_default(Type?: any): this;
|
|
2286
|
+
/**
|
|
2287
|
+
* @docs:
|
|
2288
|
+
* @title: Assign
|
|
2289
|
+
* @desc: Assigns a function or property to the instance. This allows dynamic property assignment for elements.
|
|
2290
|
+
* @param:
|
|
2291
|
+
* @name: name
|
|
2292
|
+
* @descr: The name of the property or function to assign.
|
|
2293
|
+
* @name: value
|
|
2294
|
+
* @descr: The value to assign to the property or function.
|
|
2295
|
+
* @return:
|
|
2296
|
+
* @description Returns the instance of the element for chaining.
|
|
2297
|
+
*/
|
|
2298
|
+
assign(name: string, value: any): this;
|
|
2299
|
+
/**
|
|
2300
|
+
* @docs:
|
|
2301
|
+
* @title: Extend
|
|
2302
|
+
* @desc: Extends the current instance by adding properties or functions from the provided object.
|
|
2303
|
+
* @param:
|
|
2304
|
+
* @name: obj
|
|
2305
|
+
* @descr: The object containing properties or functions to add to the current instance.
|
|
2306
|
+
* @return:
|
|
2307
|
+
* @description Returns the instance of the element for chaining.
|
|
2308
|
+
*/
|
|
2309
|
+
extend<T extends Record<string, any>>(props: T & ThisType<this & T>): this & T;
|
|
2310
|
+
/**
|
|
2311
|
+
* @docs:
|
|
2312
|
+
* @title: Select Contents
|
|
2313
|
+
* @desc: Selects the contents of the object, optionally overwriting existing selections.
|
|
2314
|
+
* @param:
|
|
2315
|
+
* @name: overwrite
|
|
2316
|
+
* @descr: Indicates whether to overwrite the current selection.
|
|
2317
|
+
* @return:
|
|
2318
|
+
* @description Returns the instance of the element for chaining.
|
|
2319
|
+
*/
|
|
2320
|
+
select(overwrite?: boolean): this;
|
|
2321
|
+
/**
|
|
2322
|
+
* @docs:
|
|
2323
|
+
* @title: Is Scrollable
|
|
2324
|
+
* @desc: Determines whether the element is scrollable based on its dimensions.
|
|
2325
|
+
* @return:
|
|
2326
|
+
* @description Returns true if the element's scroll height or width exceeds its client height or width, indicating it is scrollable.
|
|
2327
|
+
*/
|
|
2328
|
+
is_scrollable(): boolean;
|
|
2329
|
+
/**
|
|
2330
|
+
* @docs:
|
|
2331
|
+
* @title: Is Scrollable X
|
|
2332
|
+
* @desc: Checks if the element is scrollable in the horizontal direction by comparing its scroll width with its client width.
|
|
2333
|
+
* @return:
|
|
2334
|
+
* @description Returns true if the element is scrollable horizontally, otherwise false.
|
|
2335
|
+
*/
|
|
2336
|
+
is_scrollable_x(): boolean;
|
|
2337
|
+
/**
|
|
2338
|
+
* @docs:
|
|
2339
|
+
* @title: Is Scrollable Y
|
|
2340
|
+
* @desc: Checks if the element is scrollable vertically by comparing its scroll height to its client height.
|
|
2341
|
+
* @return:
|
|
2342
|
+
* @description Returns true if the element is scrollable in the Y direction, otherwise false.
|
|
2343
|
+
*/
|
|
2344
|
+
is_scrollable_y(): boolean;
|
|
2345
|
+
/**
|
|
2346
|
+
* @docs:
|
|
2347
|
+
* @title: Wait Till Children Rendered
|
|
2348
|
+
* @desc: Waits until the element and all its children are fully rendered.
|
|
2349
|
+
* This function should only be used in the `on_render` callback.
|
|
2350
|
+
* Note that it does not work with non-volt nodes and may not function correctly.
|
|
2351
|
+
* @param:
|
|
2352
|
+
* @name: timeout
|
|
2353
|
+
* @descr: The maximum time to wait for rendering in milliseconds.
|
|
2354
|
+
* @default: 10000
|
|
2355
|
+
* @return:
|
|
2356
|
+
* @description Returns a promise that resolves when all children are rendered or rejects on timeout.
|
|
2357
|
+
*/
|
|
2358
|
+
wait_till_children_rendered(timeout?: number): Promise<void>;
|
|
2359
|
+
/**
|
|
2360
|
+
* @docs:
|
|
2361
|
+
* @title: Add Pseudo
|
|
2362
|
+
* @desc: Adds a pseudo element of a specified type to a node.
|
|
2363
|
+
* Ensures that the pseudo element is properly initialized and styled.
|
|
2364
|
+
* @param:
|
|
2365
|
+
* @name: type
|
|
2366
|
+
* @descr: The type of pseudo element to add (e.g., before, after).
|
|
2367
|
+
* @name: node
|
|
2368
|
+
* @descr: The node to which the pseudo element is added.
|
|
2369
|
+
* @return:
|
|
2370
|
+
* @descr: Returns the instance of the element for chaining.
|
|
2371
|
+
*/
|
|
2372
|
+
pseudo(type: string, pseudo: PseudoElement): this;
|
|
2373
|
+
/**
|
|
2374
|
+
* @docs:
|
|
2375
|
+
* @title: Remove Pseudo
|
|
2376
|
+
* @desc: Remove a pseudo element by the specified node.
|
|
2377
|
+
* @param:
|
|
2378
|
+
* @name: node
|
|
2379
|
+
* @descr: The node from which the pseudo element will be removed.
|
|
2380
|
+
* @attr:
|
|
2381
|
+
* @name: pseudo_id
|
|
2382
|
+
* @description Identifier for the pseudo element to be removed.
|
|
2383
|
+
* @return:
|
|
2384
|
+
* @description Returns the instance of the element for chaining.
|
|
2385
|
+
*/
|
|
2386
|
+
remove_pseudo(type: string, pseudo: PseudoElement): this;
|
|
2387
|
+
/**
|
|
2388
|
+
* @docs:
|
|
2389
|
+
* @title: Remove Pseudos
|
|
2390
|
+
* @desc:
|
|
2391
|
+
* Removes all pseudo classes and stylesheets associated with the element.
|
|
2392
|
+
* This function iterates through the class list and removes classes that start with "pseudo_".
|
|
2393
|
+
* @return:
|
|
2394
|
+
* @description Returns the instance of the element for chaining.
|
|
2395
|
+
*/
|
|
2396
|
+
remove_pseudos(): this;
|
|
2397
|
+
/**
|
|
2398
|
+
* @docs:
|
|
2399
|
+
* @title: Add Pseudo Hover
|
|
2400
|
+
* @desc: Adds a pseudo element on mouse hover. This function does not work in combination with other mouse over events.
|
|
2401
|
+
* @param:
|
|
2402
|
+
* @name: type
|
|
2403
|
+
* @descr: The type of pseudo element to add.
|
|
2404
|
+
* @name: node
|
|
2405
|
+
* @descr: The node to which the pseudo element will be applied.
|
|
2406
|
+
* @name: set_defaults
|
|
2407
|
+
* @descr: A flag to set default values for the node.
|
|
2408
|
+
* @default: true
|
|
2409
|
+
* @return:
|
|
2410
|
+
* @descr: Returns the instance of the element for chaining.
|
|
2411
|
+
*/
|
|
2412
|
+
pseudo_on_hover(type: string, pseudo: PseudoElement, set_defaults?: boolean): this;
|
|
2413
|
+
/**
|
|
2414
|
+
* @docs:
|
|
2415
|
+
* @title: Parent
|
|
2416
|
+
* @desc: Get or set the parent element of the current element.
|
|
2417
|
+
* This is particularly relevant for child elements of specific derived classes.
|
|
2418
|
+
* @param:
|
|
2419
|
+
* @name: value
|
|
2420
|
+
* @descr: The parent element to set or null to retrieve the current parent.
|
|
2421
|
+
* @return:
|
|
2422
|
+
* @description If a value is provided, it sets the parent and returns the instance for chaining.
|
|
2423
|
+
* If no value is provided, it returns the current parent element or null if not set.
|
|
2424
|
+
* @funcs: 2
|
|
2425
|
+
*/
|
|
2426
|
+
parent<T = undefined | VElement | HTMLElement>(): T;
|
|
2427
|
+
parent(value: any): this;
|
|
2428
|
+
/**
|
|
2429
|
+
* @docs:
|
|
2430
|
+
* @title: Absolute Parent
|
|
2431
|
+
* @desc: Sets or gets the absolute parent of the custom element.
|
|
2432
|
+
* When called without arguments, it returns the current absolute parent;
|
|
2433
|
+
* when called with an argument, it sets the absolute parent and returns the instance for chaining.
|
|
2434
|
+
* @param:
|
|
2435
|
+
* @name: value
|
|
2436
|
+
* @descr: The absolute parent to set.
|
|
2437
|
+
* @return:
|
|
2438
|
+
* @descr: Returns the instance of the element for chaining when an argument is passed;
|
|
2439
|
+
* otherwise, returns the current absolute parent.
|
|
2440
|
+
* @funcs: 2
|
|
2441
|
+
*/
|
|
2442
|
+
abs_parent<T = undefined | VElement | HTMLElement>(): T;
|
|
2443
|
+
abs_parent(value: any): this;
|
|
2444
|
+
/**
|
|
2445
|
+
* @docs:
|
|
2446
|
+
* @title: Assign to Parent As
|
|
2447
|
+
* @desc: Assigns the current element to a specified attribute of the parent element.
|
|
2448
|
+
* @param:
|
|
2449
|
+
* @name: name
|
|
2450
|
+
* @descr: The name of the attribute to assign the current element to.
|
|
2451
|
+
* @return:
|
|
2452
|
+
* @descr: Returns the instance of the element for chaining.
|
|
2453
|
+
*/
|
|
2454
|
+
assign_to_parent_as(name: string): this;
|
|
2455
|
+
/**
|
|
2456
|
+
* @docs:
|
|
2457
|
+
* @title: Get Y Offset From Parent
|
|
2458
|
+
* @desc: Calculates the vertical offset of the current node relative to a specified parent node.
|
|
2459
|
+
* @param:
|
|
2460
|
+
* @name: parent
|
|
2461
|
+
* @descr: The parent node from which to calculate the offset.
|
|
2462
|
+
* @return:
|
|
2463
|
+
* @description Returns the accumulated vertical offset from the current node to the parent node, or null if the parent wasn't found.
|
|
2464
|
+
* @deprecated: true
|
|
2465
|
+
*/
|
|
2466
|
+
get_y_offset_from_parent(parent: HTMLElement): number | null;
|
|
2467
|
+
/**
|
|
2468
|
+
* @docs:
|
|
2469
|
+
* @title: Absolute Y Offset
|
|
2470
|
+
* @desc: Calculates the absolute vertical offset of the element from the top of the document.
|
|
2471
|
+
* @return:
|
|
2472
|
+
* @description Returns the absolute Y offset in pixels.
|
|
2473
|
+
*/
|
|
2474
|
+
absolute_y_offset(): number;
|
|
2475
|
+
/**
|
|
2476
|
+
* @docs:
|
|
2477
|
+
* @title: Absolute X Offset
|
|
2478
|
+
* @desc: Calculates the absolute X offset of the current element in relation to its offset parents.
|
|
2479
|
+
* @return:
|
|
2480
|
+
* @description Returns the total left offset in pixels as a number.
|
|
2481
|
+
*/
|
|
2482
|
+
absolute_x_offset(): number;
|
|
2483
|
+
/**
|
|
2484
|
+
* @docs:
|
|
2485
|
+
* @title: Exec
|
|
2486
|
+
* @desc: Executes a provided function with the current element as its parameter.
|
|
2487
|
+
* @param:
|
|
2488
|
+
* @name: callback
|
|
2489
|
+
* @descr: A function to execute with the current element.
|
|
2490
|
+
* @return:
|
|
2491
|
+
* @description Returns the instance of the element for chaining.
|
|
2492
|
+
*/
|
|
2493
|
+
exec(callback: ElementCallback<this>): this;
|
|
2494
|
+
/**
|
|
2495
|
+
* @docs:
|
|
2496
|
+
* @title: Is child
|
|
2497
|
+
* @desc: Check if an element is a direct child of the element or the element itself.
|
|
2498
|
+
* @param:
|
|
2499
|
+
* @name: target
|
|
2500
|
+
* @descr: The target element to test.
|
|
2501
|
+
* @return:
|
|
2502
|
+
* @description Returns true if the target is a direct child, otherwise false.
|
|
2503
|
+
*/
|
|
2504
|
+
is_child(target: any): boolean;
|
|
2505
|
+
/**
|
|
2506
|
+
* @docs:
|
|
2507
|
+
* @title: Is Child
|
|
2508
|
+
* @desc: Checks if an element is a recursively nested child of the element or the element itself.
|
|
2509
|
+
* @param:
|
|
2510
|
+
* @name: target
|
|
2511
|
+
* @descr: The target element to test.
|
|
2512
|
+
* @param:
|
|
2513
|
+
* @name: stop_node
|
|
2514
|
+
* @descr: A node at which to stop checking if target is a parent of the current element.
|
|
2515
|
+
* @return:
|
|
2516
|
+
* @descr: Returns true if the target is a nested child, otherwise false.
|
|
2517
|
+
*/
|
|
2518
|
+
is_nested_child(target: any, stop_node?: any): boolean;
|
|
2519
|
+
/**
|
|
2520
|
+
* @docs:
|
|
2521
|
+
* @title: To String
|
|
2522
|
+
* @desc: Converts the current element to its string representation, setting an attribute in the process.
|
|
2523
|
+
* @return:
|
|
2524
|
+
* @description Returns the outer HTML of the element as a string.
|
|
2525
|
+
*/
|
|
2526
|
+
toString(): string;
|
|
2527
|
+
accent_color(): string;
|
|
2528
|
+
accent_color(value: string): this;
|
|
2529
|
+
align_content(): string;
|
|
2530
|
+
align_content(value: string): this;
|
|
2531
|
+
align_items(): string;
|
|
2532
|
+
align_items(value: string): this;
|
|
2533
|
+
align_self(): string;
|
|
2534
|
+
align_self(value: string): this;
|
|
2535
|
+
all(): string;
|
|
2536
|
+
all(value: string): this;
|
|
2537
|
+
animation(): string;
|
|
2538
|
+
animation(value: string): this;
|
|
2539
|
+
animation_delay(): string;
|
|
2540
|
+
animation_delay(value: string | number): this;
|
|
2541
|
+
animation_direction(): string;
|
|
2542
|
+
animation_direction(value: string): this;
|
|
2543
|
+
animation_duration(): string;
|
|
2544
|
+
animation_duration(value: string | number): this;
|
|
2545
|
+
animation_fill_mode(): string;
|
|
2546
|
+
animation_fill_mode(value: string): this;
|
|
2547
|
+
animation_iteration_count(): string;
|
|
2548
|
+
animation_iteration_count(value: string | number): this;
|
|
2549
|
+
animation_name(): string;
|
|
2550
|
+
animation_name(value: string): this;
|
|
2551
|
+
animation_play_state(): string;
|
|
2552
|
+
animation_play_state(value: string): this;
|
|
2553
|
+
animation_timing_function(): string;
|
|
2554
|
+
animation_timing_function(value: string): this;
|
|
2555
|
+
aspect_ratio(): string;
|
|
2556
|
+
aspect_ratio(value: string): this;
|
|
2557
|
+
backdrop_filter(): string;
|
|
2558
|
+
backdrop_filter(value: string): this;
|
|
2559
|
+
backface_visibility(): string;
|
|
2560
|
+
backface_visibility(value: string): this;
|
|
2561
|
+
background_attachment(): string;
|
|
2562
|
+
background_attachment(value: string): this;
|
|
2563
|
+
background_blend_mode(): string;
|
|
2564
|
+
background_blend_mode(value: string): this;
|
|
2565
|
+
background_clip(): string;
|
|
2566
|
+
background_clip(value: string): this;
|
|
2567
|
+
background_color(): string;
|
|
2568
|
+
background_color(value: string): this;
|
|
2569
|
+
background_image(): string;
|
|
2570
|
+
background_image(value: string): this;
|
|
2571
|
+
background_origin(): string;
|
|
2572
|
+
background_origin(value: string): this;
|
|
2573
|
+
background_position(): string;
|
|
2574
|
+
background_position(value: string): this;
|
|
2575
|
+
background_position_x(): string;
|
|
2576
|
+
background_position_x(value: string | number): this;
|
|
2577
|
+
background_position_y(): string;
|
|
2578
|
+
background_position_y(value: string | number): this;
|
|
2579
|
+
background_repeat(): string;
|
|
2580
|
+
background_repeat(value: string): this;
|
|
2581
|
+
background_size(): string;
|
|
2582
|
+
background_size(value: string | number): this;
|
|
2583
|
+
block_size(): string;
|
|
2584
|
+
block_size(value: string | number): this;
|
|
2585
|
+
border_block(): string;
|
|
2586
|
+
border_block(value: string): this | string;
|
|
2587
|
+
border_block_color(): string;
|
|
2588
|
+
border_block_color(value: string): this;
|
|
2589
|
+
border_block_end_color(): string;
|
|
2590
|
+
border_block_end_color(value: string): this;
|
|
2591
|
+
border_block_end_style(): string;
|
|
2592
|
+
border_block_end_style(value: string): this;
|
|
2593
|
+
border_block_end_width(): string;
|
|
2594
|
+
border_block_end_width(value: string | number): this;
|
|
2595
|
+
border_block_start_color(): string;
|
|
2596
|
+
border_block_start_color(value: string): this;
|
|
2597
|
+
border_block_start_style(): string;
|
|
2598
|
+
border_block_start_style(value: string): this;
|
|
2599
|
+
border_block_start_width(): string;
|
|
2600
|
+
border_block_start_width(value: string | number): this;
|
|
2601
|
+
border_block_style(): string;
|
|
2602
|
+
border_block_style(value: string): this;
|
|
2603
|
+
border_block_width(): string;
|
|
2604
|
+
border_block_width(value: string | number): this;
|
|
2605
|
+
border_bottom_color(): string;
|
|
2606
|
+
border_bottom_color(value: string): this;
|
|
2607
|
+
border_bottom_left_radius(): string;
|
|
2608
|
+
border_bottom_left_radius(value: string | number): this;
|
|
2609
|
+
border_bottom_right_radius(): string;
|
|
2610
|
+
border_bottom_right_radius(value: string | number): this;
|
|
2611
|
+
border_bottom_style(): string;
|
|
2612
|
+
border_bottom_style(value: string): this;
|
|
2613
|
+
border_bottom_width(): string;
|
|
2614
|
+
border_bottom_width(value: string | number): this;
|
|
2615
|
+
border_collapse(): string;
|
|
2616
|
+
border_collapse(value: string): this;
|
|
2617
|
+
border_color(): string;
|
|
2618
|
+
border_color(value: string): this;
|
|
2619
|
+
border_image(): string;
|
|
2620
|
+
border_image(value: string): this;
|
|
2621
|
+
border_image_outset(): string;
|
|
2622
|
+
border_image_outset(value: string | number): this;
|
|
2623
|
+
border_image_repeat(): string;
|
|
2624
|
+
border_image_repeat(value: string): this;
|
|
2625
|
+
border_image_slice(): string;
|
|
2626
|
+
border_image_slice(value: string | number): this;
|
|
2627
|
+
border_image_source(): string;
|
|
2628
|
+
border_image_source(value: string): this;
|
|
2629
|
+
border_image_width(): string;
|
|
2630
|
+
border_image_width(value: string | number): this;
|
|
2631
|
+
border_inline(): string;
|
|
2632
|
+
border_inline(value: string | number): this;
|
|
2633
|
+
border_inline_color(): string;
|
|
2634
|
+
border_inline_color(value: string): this;
|
|
2635
|
+
border_inline_end_color(): string;
|
|
2636
|
+
border_inline_end_color(value: string): this;
|
|
2637
|
+
border_inline_end_style(): string;
|
|
2638
|
+
border_inline_end_style(value: string): this;
|
|
2639
|
+
border_inline_end_width(): string;
|
|
2640
|
+
border_inline_end_width(value: string | number): this;
|
|
2641
|
+
border_inline_start_color(): string;
|
|
2642
|
+
border_inline_start_color(value: string): this;
|
|
2643
|
+
border_inline_start_style(): string;
|
|
2644
|
+
border_inline_start_style(value: string): this;
|
|
2645
|
+
border_inline_start_width(): string;
|
|
2646
|
+
border_inline_start_width(value: string | number): this;
|
|
2647
|
+
border_inline_style(): string;
|
|
2648
|
+
border_inline_style(value: string): this;
|
|
2649
|
+
border_inline_width(): string;
|
|
2650
|
+
border_inline_width(value: string | number): this;
|
|
2651
|
+
border_left_color(): string;
|
|
2652
|
+
border_left_color(value: string): this;
|
|
2653
|
+
border_left_style(): string;
|
|
2654
|
+
border_left_style(value: string): this;
|
|
2655
|
+
border_left_width(): string;
|
|
2656
|
+
border_left_width(value: string | number): this;
|
|
2657
|
+
border_radius(): string;
|
|
2658
|
+
border_radius(value: string | number): this;
|
|
2659
|
+
border_right_color(): string;
|
|
2660
|
+
border_right_color(value: string): this;
|
|
2661
|
+
border_right_style(): string;
|
|
2662
|
+
border_right_style(value: string): this;
|
|
2663
|
+
border_right_width(): string;
|
|
2664
|
+
border_right_width(value: string | number): this;
|
|
2665
|
+
border_spacing(): string;
|
|
2666
|
+
border_spacing(value: string | number): this;
|
|
2667
|
+
border_style(): string;
|
|
2668
|
+
border_style(value: string): this;
|
|
2669
|
+
border_top_color(): string;
|
|
2670
|
+
border_top_color(value: string): this;
|
|
2671
|
+
border_top_left_radius(): string;
|
|
2672
|
+
border_top_left_radius(value: string | number): this;
|
|
2673
|
+
border_top_right_radius(): string;
|
|
2674
|
+
border_top_right_radius(value: string | number): this;
|
|
2675
|
+
border_top_style(): string;
|
|
2676
|
+
border_top_style(value: string): this;
|
|
2677
|
+
border_top_width(): string;
|
|
2678
|
+
border_top_width(value: string | number): this;
|
|
2679
|
+
border_width(): string;
|
|
2680
|
+
border_width(value: string | number): this;
|
|
2681
|
+
bottom(): string;
|
|
2682
|
+
bottom(value: string | number): this;
|
|
2683
|
+
box_decoration_break(): string;
|
|
2684
|
+
box_decoration_break(value: string): this;
|
|
2685
|
+
box_reflect(): string;
|
|
2686
|
+
box_reflect(value: string): this;
|
|
2687
|
+
box_shadow(): string;
|
|
2688
|
+
box_shadow(value: string): this;
|
|
2689
|
+
box_sizing(): string;
|
|
2690
|
+
box_sizing(value: string): this;
|
|
2691
|
+
break_after(): string | this;
|
|
2692
|
+
break_after(value: string): this;
|
|
2693
|
+
break_before(): string;
|
|
2694
|
+
break_before(value: string): this;
|
|
2695
|
+
break_inside(): string;
|
|
2696
|
+
break_inside(value: string): this;
|
|
2697
|
+
caption_side(): string;
|
|
2698
|
+
caption_side(value: string): this;
|
|
2699
|
+
caret_color(): string;
|
|
2700
|
+
caret_color(value: string): this;
|
|
2701
|
+
clear(): string;
|
|
2702
|
+
clear(value: string): this;
|
|
2703
|
+
clip(): string;
|
|
2704
|
+
clip(value: string): this;
|
|
2705
|
+
column_count(): null | number;
|
|
2706
|
+
column_count(value: string | number): this;
|
|
2707
|
+
column_fill(): string;
|
|
2708
|
+
column_fill(value: string): this;
|
|
2709
|
+
column_gap(): string;
|
|
2710
|
+
column_gap(value: string | number): this;
|
|
2711
|
+
column_rule(): string;
|
|
2712
|
+
column_rule(value: string): this;
|
|
2713
|
+
column_rule_color(): string;
|
|
2714
|
+
column_rule_color(value: string): this;
|
|
2715
|
+
column_rule_style(): string;
|
|
2716
|
+
column_rule_style(value: string): this;
|
|
2717
|
+
column_rule_width(): string;
|
|
2718
|
+
column_rule_width(value: string | number): this;
|
|
2719
|
+
column_span(): null | number;
|
|
2720
|
+
column_span(value: number): this;
|
|
2721
|
+
column_width(): string;
|
|
2722
|
+
column_width(value: string | number): this;
|
|
2723
|
+
columns(): string;
|
|
2724
|
+
columns(value: string | number): this;
|
|
2725
|
+
content(): string;
|
|
2726
|
+
content(value: string | number): this;
|
|
2727
|
+
counter_increment(): string;
|
|
2728
|
+
counter_increment(value: string | number): this;
|
|
2729
|
+
counter_reset(): string;
|
|
2730
|
+
counter_reset(value: string): this;
|
|
2731
|
+
cursor(): string;
|
|
2732
|
+
cursor(value: string): this;
|
|
2733
|
+
direction(): string;
|
|
2734
|
+
direction(value: string): this;
|
|
2735
|
+
empty_cells(): string;
|
|
2736
|
+
empty_cells(value: string): this;
|
|
2737
|
+
filter(): string;
|
|
2738
|
+
filter(value: string): this;
|
|
2739
|
+
flex(): string;
|
|
2740
|
+
flex(value: boolean | number | string): this;
|
|
2741
|
+
flex_basis(): string;
|
|
2742
|
+
flex_basis(value: string | number): this;
|
|
2743
|
+
flex_direction(): string;
|
|
2744
|
+
flex_direction(value: string): this;
|
|
2745
|
+
flex_flow(): string;
|
|
2746
|
+
flex_flow(value: string): this;
|
|
2747
|
+
flex_grow(): null | number;
|
|
2748
|
+
flex_grow(value: string | number): this;
|
|
2749
|
+
flex_shrink(): null | number;
|
|
2750
|
+
flex_shrink(value: string | number): this;
|
|
2751
|
+
flex_wrap(): string;
|
|
2752
|
+
flex_wrap(value: string): this;
|
|
2753
|
+
float(): string;
|
|
2754
|
+
float(value: string): this;
|
|
2755
|
+
font(): string;
|
|
2756
|
+
font(value: string): this;
|
|
2757
|
+
font_family(): string;
|
|
2758
|
+
font_family(value: string): this;
|
|
2759
|
+
font_feature_settings(): string;
|
|
2760
|
+
font_feature_settings(value: string): this;
|
|
2761
|
+
font_kerning(): string;
|
|
2762
|
+
font_kerning(value: string): this;
|
|
2763
|
+
font_language_override(): string;
|
|
2764
|
+
font_language_override(value: string): this;
|
|
2765
|
+
font_size(): string;
|
|
2766
|
+
font_size(value: string | number): this;
|
|
2767
|
+
font_size_adjust(): string;
|
|
2768
|
+
font_size_adjust(value: string): this;
|
|
2769
|
+
font_stretch(): string;
|
|
2770
|
+
font_stretch(value: string): this;
|
|
2771
|
+
font_style(): string;
|
|
2772
|
+
font_style(value: string): this;
|
|
2773
|
+
font_synthesis(): string;
|
|
2774
|
+
font_synthesis(value: string): this;
|
|
2775
|
+
font_variant(): string;
|
|
2776
|
+
font_variant(value: string): this;
|
|
2777
|
+
font_variant_alternates(): string;
|
|
2778
|
+
font_variant_alternates(value: string): this;
|
|
2779
|
+
font_variant_caps(): string;
|
|
2780
|
+
font_variant_caps(value: string): this;
|
|
2781
|
+
font_variant_east_asian(): string;
|
|
2782
|
+
font_variant_east_asian(value: string): this;
|
|
2783
|
+
font_variant_ligatures(): string;
|
|
2784
|
+
font_variant_ligatures(value: string): this;
|
|
2785
|
+
font_variant_numeric(): string;
|
|
2786
|
+
font_variant_numeric(value: string): this;
|
|
2787
|
+
font_variant_position(): string;
|
|
2788
|
+
font_variant_position(value: string): this;
|
|
2789
|
+
font_weight(): string;
|
|
2790
|
+
font_weight(value: string | number): this;
|
|
2791
|
+
gap(): string;
|
|
2792
|
+
gap(value: string | number): this;
|
|
2793
|
+
grid(): string;
|
|
2794
|
+
grid(value: string): this;
|
|
2795
|
+
grid_area(): string;
|
|
2796
|
+
grid_area(value: string): this;
|
|
2797
|
+
grid_auto_columns(): string;
|
|
2798
|
+
grid_auto_columns(value: string | number): this;
|
|
2799
|
+
grid_auto_flow(): string;
|
|
2800
|
+
grid_auto_flow(value: string): this;
|
|
2801
|
+
grid_auto_rows(): string;
|
|
2802
|
+
grid_auto_rows(value: string | number): this;
|
|
2803
|
+
grid_column(): string;
|
|
2804
|
+
grid_column(value: string): this;
|
|
2805
|
+
grid_column_end(): string;
|
|
2806
|
+
grid_column_end(value: string | number): this;
|
|
2807
|
+
grid_column_gap(): string;
|
|
2808
|
+
grid_column_gap(value: string | number): this;
|
|
2809
|
+
grid_column_start(): string;
|
|
2810
|
+
grid_column_start(value: string | number): this;
|
|
2811
|
+
grid_gap(): string;
|
|
2812
|
+
grid_gap(value: string | number): this;
|
|
2813
|
+
grid_row(): string;
|
|
2814
|
+
grid_row(value: string): this;
|
|
2815
|
+
grid_row_end(): string;
|
|
2816
|
+
grid_row_end(value: string): this;
|
|
2817
|
+
grid_row_gap(): string;
|
|
2818
|
+
grid_row_gap(value: string | number): this;
|
|
2819
|
+
grid_row_start(): string;
|
|
2820
|
+
grid_row_start(value: string | number): this;
|
|
2821
|
+
grid_template(): string;
|
|
2822
|
+
grid_template(value: string): this;
|
|
2823
|
+
grid_template_areas(): string;
|
|
2824
|
+
grid_template_areas(value: string): this;
|
|
2825
|
+
grid_template_columns(): string;
|
|
2826
|
+
grid_template_columns(value: string): this;
|
|
2827
|
+
grid_template_rows(): string;
|
|
2828
|
+
grid_template_rows(value: string | number): this;
|
|
2829
|
+
hanging_punctuation(): string;
|
|
2830
|
+
hanging_punctuation(value: string): this;
|
|
2831
|
+
hyphens(): string;
|
|
2832
|
+
hyphens(value: string): this;
|
|
2833
|
+
image_rendering(): string;
|
|
2834
|
+
image_rendering(value: string): this;
|
|
2835
|
+
inline_size(): string;
|
|
2836
|
+
inline_size(value: string | number): this;
|
|
2837
|
+
inset(): string;
|
|
2838
|
+
inset(value: string | number): this;
|
|
2839
|
+
inset_block(): string | undefined;
|
|
2840
|
+
inset_block(value: string | number): this;
|
|
2841
|
+
inset_block_end(): string;
|
|
2842
|
+
inset_block_end(value: string | number): this;
|
|
2843
|
+
inset_block_start(): string;
|
|
2844
|
+
inset_block_start(value: string | number): this;
|
|
2845
|
+
inset_inline(): string;
|
|
2846
|
+
inset_inline(value: string | number): this;
|
|
2847
|
+
inset_inline_end(): string;
|
|
2848
|
+
inset_inline_end(value: string | number): this;
|
|
2849
|
+
inset_inline_start(): string;
|
|
2850
|
+
inset_inline_start(value: string | number): this;
|
|
2851
|
+
isolation(): string;
|
|
2852
|
+
isolation(value: string): this;
|
|
2853
|
+
justify_content(): string;
|
|
2854
|
+
justify_content(value: string): this;
|
|
2855
|
+
justify_items(): string;
|
|
2856
|
+
justify_items(value: string): this;
|
|
2857
|
+
justify_self(): string;
|
|
2858
|
+
justify_self(value: string): this;
|
|
2859
|
+
left(): string;
|
|
2860
|
+
left(value: string | number): this;
|
|
2861
|
+
letter_spacing(): string;
|
|
2862
|
+
letter_spacing(value: string | number): this;
|
|
2863
|
+
line_break(): string;
|
|
2864
|
+
line_break(value: string): this;
|
|
2865
|
+
line_height(): string;
|
|
2866
|
+
line_height(value: string | number): this;
|
|
2867
|
+
list_style(): string;
|
|
2868
|
+
list_style(value: string): this;
|
|
2869
|
+
list_style_image(): string;
|
|
2870
|
+
list_style_image(value: string): this;
|
|
2871
|
+
list_style_position(): string;
|
|
2872
|
+
list_style_position(value: string): this;
|
|
2873
|
+
list_style_type(): string;
|
|
2874
|
+
list_style_type(value: string): this;
|
|
2875
|
+
margin_block(): string;
|
|
2876
|
+
margin_block(value: string | number): this;
|
|
2877
|
+
margin_block_end(): string;
|
|
2878
|
+
margin_block_end(value: string | number): this;
|
|
2879
|
+
margin_block_start(): string;
|
|
2880
|
+
margin_block_start(value: string | number): this;
|
|
2881
|
+
margin_inline(): string;
|
|
2882
|
+
margin_inline(value: string | number): this;
|
|
2883
|
+
margin_inline_end(): string;
|
|
2884
|
+
margin_inline_end(value: string | number): this;
|
|
2885
|
+
margin_inline_start(): string;
|
|
2886
|
+
margin_inline_start(value: string | number): this;
|
|
2887
|
+
mask(): string;
|
|
2888
|
+
mask(value: string): this;
|
|
2889
|
+
mask_clip(): string;
|
|
2890
|
+
mask_clip(value: string): this;
|
|
2891
|
+
mask_composite(): string;
|
|
2892
|
+
mask_composite(value: string): this;
|
|
2893
|
+
mask_image(): string;
|
|
2894
|
+
mask_image(value: string): this;
|
|
2895
|
+
mask_mode(): string;
|
|
2896
|
+
mask_mode(value: string): this;
|
|
2897
|
+
mask_origin(): string;
|
|
2898
|
+
mask_origin(value: string): this;
|
|
2899
|
+
mask_position(): string;
|
|
2900
|
+
mask_position(value: string): this;
|
|
2901
|
+
mask_repeat(): string;
|
|
2902
|
+
mask_repeat(value: string): this;
|
|
2903
|
+
mask_size(): string;
|
|
2904
|
+
mask_size(value: string | number): this;
|
|
2905
|
+
mask_type(): string;
|
|
2906
|
+
mask_type(value: string): this;
|
|
2907
|
+
max_height(): number | string;
|
|
2908
|
+
max_height(value: string | number): this;
|
|
2909
|
+
max_width(): number | string;
|
|
2910
|
+
max_width(value: string | number): this;
|
|
2911
|
+
max_block_size(): string;
|
|
2912
|
+
max_block_size(value: string | number): this;
|
|
2913
|
+
max_inline_size(): string | number;
|
|
2914
|
+
max_inline_size(value: string | number): this;
|
|
2915
|
+
min_block_size(): null | number;
|
|
2916
|
+
min_block_size(value: number): this;
|
|
2917
|
+
min_inline_size(): string;
|
|
2918
|
+
min_inline_size(value: string | number): this;
|
|
2919
|
+
mix_blend_mode(): string;
|
|
2920
|
+
mix_blend_mode(value: string): this;
|
|
2921
|
+
object_fit(): string;
|
|
2922
|
+
object_fit(value: string): this;
|
|
2923
|
+
object_position(): string;
|
|
2924
|
+
object_position(value: string): this;
|
|
2925
|
+
offset(): string;
|
|
2926
|
+
offset(value: string | number): this;
|
|
2927
|
+
offset_anchor(): string;
|
|
2928
|
+
offset_anchor(value: string): this;
|
|
2929
|
+
offset_distance(): string;
|
|
2930
|
+
offset_distance(value: string | number): this;
|
|
2931
|
+
offset_path(): string;
|
|
2932
|
+
offset_path(value: string): this;
|
|
2933
|
+
offset_rotate(): string;
|
|
2934
|
+
offset_rotate(value: string | number): this;
|
|
2935
|
+
order(): string;
|
|
2936
|
+
order(value: string | number): this;
|
|
2937
|
+
orphans(): null | number;
|
|
2938
|
+
orphans(value: number): this;
|
|
2939
|
+
outline(): string;
|
|
2940
|
+
outline(value: string): this;
|
|
2941
|
+
outline_color(): string;
|
|
2942
|
+
outline_color(value: string): this;
|
|
2943
|
+
outline_offset(): string;
|
|
2944
|
+
outline_offset(value: string | number): this;
|
|
2945
|
+
outline_style(): string;
|
|
2946
|
+
outline_style(value: string): this;
|
|
2947
|
+
outline_width(): string;
|
|
2948
|
+
outline_width(value: string | number): this;
|
|
2949
|
+
overflow(): string;
|
|
2950
|
+
overflow(value: string): this;
|
|
2951
|
+
overflow_anchor(): string;
|
|
2952
|
+
overflow_anchor(value: string): this;
|
|
2953
|
+
overflow_wrap(): string;
|
|
2954
|
+
overflow_wrap(value: string): this;
|
|
2955
|
+
overflow_x(): string;
|
|
2956
|
+
overflow_x(value: string): this;
|
|
2957
|
+
overflow_y(): string;
|
|
2958
|
+
overflow_y(value: string): this;
|
|
2959
|
+
overscroll_behavior(): string;
|
|
2960
|
+
overscroll_behavior(value: string): this;
|
|
2961
|
+
overscroll_behavior_block(): string;
|
|
2962
|
+
overscroll_behavior_block(value: string): this;
|
|
2963
|
+
overscroll_behavior_inline(): string;
|
|
2964
|
+
overscroll_behavior_inline(value: string): this;
|
|
2965
|
+
overscroll_behavior_x(): string;
|
|
2966
|
+
overscroll_behavior_x(value: string): this;
|
|
2967
|
+
overscroll_behavior_y(): string;
|
|
2968
|
+
overscroll_behavior_y(value: string): this;
|
|
2969
|
+
padding_block(): string | undefined;
|
|
2970
|
+
padding_block(value: string | number): this;
|
|
2971
|
+
padding_block_end(): string;
|
|
2972
|
+
padding_block_end(value: string | number): this;
|
|
2973
|
+
padding_block_start(): string;
|
|
2974
|
+
padding_block_start(value: string | number): this;
|
|
2975
|
+
padding_inline(): string;
|
|
2976
|
+
padding_inline(value: string | number): this;
|
|
2977
|
+
padding_inline_end(): string;
|
|
2978
|
+
padding_inline_end(value: string | number): this;
|
|
2979
|
+
padding_inline_start(): string;
|
|
2980
|
+
padding_inline_start(value: string | number): this;
|
|
2981
|
+
page_break_after(): string;
|
|
2982
|
+
page_break_after(value: string): this;
|
|
2983
|
+
page_break_before(): string;
|
|
2984
|
+
page_break_before(value: string): this;
|
|
2985
|
+
page_break_inside(): string;
|
|
2986
|
+
page_break_inside(value: string): this;
|
|
2987
|
+
paint_order(): string;
|
|
2988
|
+
paint_order(value: string): this;
|
|
2989
|
+
perspective(): string;
|
|
2990
|
+
perspective(value: string | number): this;
|
|
2991
|
+
perspective_origin(): string;
|
|
2992
|
+
perspective_origin(value: string): this;
|
|
2993
|
+
place_content(): string;
|
|
2994
|
+
place_content(value: string): this;
|
|
2995
|
+
place_items(): string;
|
|
2996
|
+
place_items(value: string): this;
|
|
2997
|
+
place_self(): string;
|
|
2998
|
+
place_self(value: string): this;
|
|
2999
|
+
pointer_events(): string;
|
|
3000
|
+
pointer_events(value: string): this;
|
|
3001
|
+
quotes(): string;
|
|
3002
|
+
quotes(value: string): this;
|
|
3003
|
+
resize(): string;
|
|
3004
|
+
resize(value: string): this;
|
|
3005
|
+
right(): string;
|
|
3006
|
+
right(value: number | string): this;
|
|
3007
|
+
row_gap(): string;
|
|
3008
|
+
row_gap(value: string | number): this;
|
|
3009
|
+
scale(): null | number;
|
|
3010
|
+
scale(value: number): this;
|
|
3011
|
+
scroll_behavior(): string;
|
|
3012
|
+
scroll_behavior(value: string): this;
|
|
3013
|
+
scroll_margin(): string;
|
|
3014
|
+
scroll_margin(value: string | number): this;
|
|
3015
|
+
scroll_margin_block(): string;
|
|
3016
|
+
scroll_margin_block(value: string | number): this;
|
|
3017
|
+
scroll_margin_block_end(): string;
|
|
3018
|
+
scroll_margin_block_end(value: string | number): this;
|
|
3019
|
+
scroll_margin_block_start(): string;
|
|
3020
|
+
scroll_margin_block_start(value: string | number): this;
|
|
3021
|
+
scroll_margin_bottom(): string;
|
|
3022
|
+
scroll_margin_bottom(value: string | number): this;
|
|
3023
|
+
scroll_margin_inline(): string;
|
|
3024
|
+
scroll_margin_inline(value: string | number): this;
|
|
3025
|
+
scroll_margin_inline_end(): string;
|
|
3026
|
+
scroll_margin_inline_end(value: string | number): this;
|
|
3027
|
+
scroll_margin_inline_start(): string;
|
|
3028
|
+
scroll_margin_inline_start(value: string): this;
|
|
3029
|
+
scroll_margin_left(): string;
|
|
3030
|
+
scroll_margin_left(value: string | number): this;
|
|
3031
|
+
/**
|
|
3032
|
+
* {Scroll Margin Right}
|
|
3033
|
+
* Specifies the margin between the snap position on the right side and the container.
|
|
3034
|
+
* The equivalent of CSS attribute `scrollMarginRight`. Returns the attribute value when parameter `value` is `null`.
|
|
3035
|
+
* @param value The value to assign. Leave `null` to retrieve the attribute's value.
|
|
3036
|
+
* @returns r: Returns the `VElement` object for chaining unless parameter `value` is `null`, then the attribute's value is returned.
|
|
3037
|
+
* @docs
|
|
3038
|
+
*/
|
|
3039
|
+
scroll_margin_right(): string;
|
|
3040
|
+
scroll_margin_right(value: string | number): this;
|
|
3041
|
+
scroll_margin_top(): string;
|
|
3042
|
+
scroll_margin_top(value: string | number): this;
|
|
3043
|
+
scroll_padding(): string;
|
|
3044
|
+
scroll_padding(value: string | number): this;
|
|
3045
|
+
scroll_padding_block(): string;
|
|
3046
|
+
scroll_padding_block(value: string | number): this;
|
|
3047
|
+
scroll_padding_block_end(): string;
|
|
3048
|
+
scroll_padding_block_end(value: string | number): this;
|
|
3049
|
+
scroll_padding_block_start(): string;
|
|
3050
|
+
scroll_padding_block_start(value: string | number): this;
|
|
3051
|
+
scroll_padding_bottom(): string;
|
|
3052
|
+
scroll_padding_bottom(value: string | number): this;
|
|
3053
|
+
scroll_padding_inline(): string;
|
|
3054
|
+
scroll_padding_inline(value: string | number): this;
|
|
3055
|
+
scroll_padding_inline_end(): string;
|
|
3056
|
+
scroll_padding_inline_end(value: string | number): this;
|
|
3057
|
+
scroll_padding_inline_start(): string;
|
|
3058
|
+
scroll_padding_inline_start(value: string | number): this;
|
|
3059
|
+
scroll_padding_left(): string;
|
|
3060
|
+
scroll_padding_left(value: string | number): this;
|
|
3061
|
+
scroll_padding_right(): string;
|
|
3062
|
+
scroll_padding_right(value: string | number): this;
|
|
3063
|
+
scroll_padding_top(): string;
|
|
3064
|
+
scroll_padding_top(value: string | number): this;
|
|
3065
|
+
scroll_snap_align(): string;
|
|
3066
|
+
scroll_snap_align(value: string): this;
|
|
3067
|
+
scroll_snap_stop(): string;
|
|
3068
|
+
scroll_snap_stop(value: string): this;
|
|
3069
|
+
scroll_snap_type(): string;
|
|
3070
|
+
scroll_snap_type(value: string): this;
|
|
3071
|
+
scrollbar_color(): string;
|
|
3072
|
+
scrollbar_color(value: string): this;
|
|
3073
|
+
tab_size(): string;
|
|
3074
|
+
tab_size(value: string | number): this;
|
|
3075
|
+
table_layout(): string;
|
|
3076
|
+
table_layout(value: string): this;
|
|
3077
|
+
text_align(): string;
|
|
3078
|
+
text_align(value: string): this;
|
|
3079
|
+
text_align_last(): string;
|
|
3080
|
+
text_align_last(value: string): this;
|
|
3081
|
+
text_combine_upright(): string;
|
|
3082
|
+
text_combine_upright(value: string): this;
|
|
3083
|
+
text_decoration(): string;
|
|
3084
|
+
text_decoration(value: string): this;
|
|
3085
|
+
text_decoration_color(): string;
|
|
3086
|
+
text_decoration_color(value: string): this;
|
|
3087
|
+
text_decoration_line(): string;
|
|
3088
|
+
text_decoration_line(value: string): this;
|
|
3089
|
+
text_decoration_style(): string;
|
|
3090
|
+
text_decoration_style(value: string): this;
|
|
3091
|
+
text_decoration_thickness(): string;
|
|
3092
|
+
text_decoration_thickness(value: string | number): this;
|
|
3093
|
+
text_emphasis(): string;
|
|
3094
|
+
text_emphasis(value: string): this;
|
|
3095
|
+
text_indent(): string;
|
|
3096
|
+
text_indent(value: string | number): this;
|
|
3097
|
+
text_justify(): string;
|
|
3098
|
+
text_justify(value: string): this;
|
|
3099
|
+
text_orientation(): string;
|
|
3100
|
+
text_orientation(value: string): this;
|
|
3101
|
+
text_overflow(): string;
|
|
3102
|
+
text_overflow(value: string): this;
|
|
3103
|
+
text_shadow(): string;
|
|
3104
|
+
text_shadow(value: string): this;
|
|
3105
|
+
text_transform(): string;
|
|
3106
|
+
text_transform(value: string): this;
|
|
3107
|
+
text_underline_position(): string;
|
|
3108
|
+
text_underline_position(value: string): this;
|
|
3109
|
+
top(): string;
|
|
3110
|
+
top(value: string | number): this;
|
|
3111
|
+
transform(): string;
|
|
3112
|
+
transform(value: string): this;
|
|
3113
|
+
transform_origin(): string;
|
|
3114
|
+
transform_origin(value: string): this;
|
|
3115
|
+
transform_style(): string;
|
|
3116
|
+
transform_style(value: string): this;
|
|
3117
|
+
transition(): string;
|
|
3118
|
+
transition(value: string): this;
|
|
3119
|
+
transition_delay(): string;
|
|
3120
|
+
transition_delay(value: string | number): this;
|
|
3121
|
+
transition_duration(): string | undefined;
|
|
3122
|
+
transition_duration(value: string | number): this;
|
|
3123
|
+
transition_property(): string;
|
|
3124
|
+
transition_property(value: string): this;
|
|
3125
|
+
transition_timing_function(): string;
|
|
3126
|
+
transition_timing_function(value: string): this;
|
|
3127
|
+
/**
|
|
3128
|
+
* {Translate}
|
|
3129
|
+
* Specifies the position of an element. The equivalent of CSS attribute `translate`.
|
|
3130
|
+
* @param value The value to assign. Leave `null` to retrieve the attribute's value.
|
|
3131
|
+
* @returns r: Returns the attribute's value if `value` is `null`, otherwise returns the instance of the element for chaining.
|
|
3132
|
+
* @docs
|
|
3133
|
+
*/
|
|
3134
|
+
translate(): string;
|
|
3135
|
+
translate(value: string | number): this;
|
|
3136
|
+
unicode_bidi(): string;
|
|
3137
|
+
unicode_bidi(value: string): this;
|
|
3138
|
+
user_select(): string;
|
|
3139
|
+
user_select(value: string): this;
|
|
3140
|
+
visibility(): string;
|
|
3141
|
+
visibility(value: string): this;
|
|
3142
|
+
white_space(): string;
|
|
3143
|
+
white_space(value: string): this;
|
|
3144
|
+
widows(): string;
|
|
3145
|
+
widows(value: string | number): this;
|
|
3146
|
+
word_break(): string;
|
|
3147
|
+
word_break(value: string): this;
|
|
3148
|
+
word_spacing(): string;
|
|
3149
|
+
word_spacing(value: string | number): this;
|
|
3150
|
+
word_wrap(): string;
|
|
3151
|
+
word_wrap(value: string): this;
|
|
3152
|
+
writing_mode(): string;
|
|
3153
|
+
writing_mode(value: string): this;
|
|
3154
|
+
focusable(): boolean;
|
|
3155
|
+
focusable(value: boolean): this;
|
|
3156
|
+
alt(): string;
|
|
3157
|
+
alt(value: string): this;
|
|
3158
|
+
readonly(): boolean;
|
|
3159
|
+
readonly(value: boolean): this;
|
|
3160
|
+
download(): string;
|
|
3161
|
+
download(value: string): this;
|
|
3162
|
+
accept(): string;
|
|
3163
|
+
accept(value: string): this;
|
|
3164
|
+
accept_charset(): string;
|
|
3165
|
+
accept_charset(value: string): this;
|
|
3166
|
+
action(): string;
|
|
3167
|
+
action(value: string): this;
|
|
3168
|
+
async(): boolean;
|
|
3169
|
+
async(value: boolean): this;
|
|
3170
|
+
auto_complete(): "" | "on" | "off";
|
|
3171
|
+
auto_complete(value: "" | "on" | "off"): this;
|
|
3172
|
+
auto_focus(): boolean;
|
|
3173
|
+
auto_focus(value: boolean): this;
|
|
3174
|
+
auto_play(): boolean;
|
|
3175
|
+
auto_play(value: boolean): this;
|
|
3176
|
+
charset(): string;
|
|
3177
|
+
charset(value: string): this;
|
|
3178
|
+
checked(): boolean;
|
|
3179
|
+
checked(value: boolean): this;
|
|
3180
|
+
cite(): string;
|
|
3181
|
+
cite(value: string): this;
|
|
3182
|
+
cols(): null | number;
|
|
3183
|
+
cols(value: number): this;
|
|
3184
|
+
colspan(): null | number;
|
|
3185
|
+
colspan(value: number): this;
|
|
3186
|
+
/**
|
|
3187
|
+
* docs:
|
|
3188
|
+
* @title: Content
|
|
3189
|
+
* @desc: Retrieves or sets the value associated with the http-equiv or name attribute.
|
|
3190
|
+
* When `value` is `null`, the current attribute value is returned.
|
|
3191
|
+
* @param:
|
|
3192
|
+
* @name: value
|
|
3193
|
+
* @descr: The value to assign. Leave `null` to retrieve the attribute's value.
|
|
3194
|
+
* @return:
|
|
3195
|
+
* @descr: Returns the current attribute value if `value` is `null`, otherwise returns the instance for chaining.
|
|
3196
|
+
* @funcs: 2
|
|
3197
|
+
*/
|
|
3198
|
+
content_editable(): boolean;
|
|
3199
|
+
content_editable(value: boolean): this;
|
|
3200
|
+
controls(): boolean;
|
|
3201
|
+
controls(value: boolean): this;
|
|
3202
|
+
coords(): string;
|
|
3203
|
+
coords(value: string): this;
|
|
3204
|
+
data(): string;
|
|
3205
|
+
data(value: string | number): this;
|
|
3206
|
+
datetime(): string;
|
|
3207
|
+
datetime(value: string): this;
|
|
3208
|
+
default(): boolean;
|
|
3209
|
+
default(value: boolean): this;
|
|
3210
|
+
defer(): boolean;
|
|
3211
|
+
defer(value: boolean): this;
|
|
3212
|
+
/**
|
|
3213
|
+
* {Dir}
|
|
3214
|
+
* Specifies the text direction for the content in an element. The equivalent of HTML attribute `dir`.
|
|
3215
|
+
* @param value The value to assign. Leave `null` to retrieve the attribute's value.
|
|
3216
|
+
* @returns r: Returns the `VElement` object. Unless parameter `value` is `null`, then the attribute's value is returned.
|
|
3217
|
+
* @docs
|
|
3218
|
+
*/
|
|
3219
|
+
dir(): string;
|
|
3220
|
+
dir(value: string): this;
|
|
3221
|
+
dirname(): string;
|
|
3222
|
+
dirname(value: string): this;
|
|
3223
|
+
disabled(): boolean;
|
|
3224
|
+
disabled(value: boolean): this;
|
|
3225
|
+
/**
|
|
3226
|
+
* {Draggable}
|
|
3227
|
+
* Specifies whether an element is draggable or not. The equivalent of HTML attribute `draggable`.
|
|
3228
|
+
* @param value The value to assign. Leave `null` to retrieve the attribute's value.
|
|
3229
|
+
* @returns ription Returns the `VElement` object. Unless parameter `value` is `null`, then the attribute's value is returned.
|
|
3230
|
+
* @docs
|
|
3231
|
+
*/
|
|
3232
|
+
draggable(): boolean;
|
|
3233
|
+
draggable(value: boolean): this;
|
|
3234
|
+
enctype(): string;
|
|
3235
|
+
enctype(value: string): this;
|
|
3236
|
+
for(): string;
|
|
3237
|
+
for(value: string): this;
|
|
3238
|
+
/**
|
|
3239
|
+
* {Form}
|
|
3240
|
+
* Specifies the name of the form the element belongs to. The equivalent of HTML attribute `form`.
|
|
3241
|
+
* @param value The value to assign. Leave `null` to retrieve the attribute's value.
|
|
3242
|
+
* @returns ription Returns the `VElement` object when a value is set. If `null`, returns the attribute's value.
|
|
3243
|
+
* @docs
|
|
3244
|
+
*/
|
|
3245
|
+
form_action(): string;
|
|
3246
|
+
form_action(value: string): this;
|
|
3247
|
+
headers(): string;
|
|
3248
|
+
headers(value: string): this;
|
|
3249
|
+
high(): string;
|
|
3250
|
+
high(value: string | number): this;
|
|
3251
|
+
href(): string;
|
|
3252
|
+
href(value: string): this;
|
|
3253
|
+
href_lang(): string;
|
|
3254
|
+
href_lang(value: string): this;
|
|
3255
|
+
http_equiv(): string;
|
|
3256
|
+
http_equiv(value: string): this;
|
|
3257
|
+
/**
|
|
3258
|
+
* {Id}
|
|
3259
|
+
* Specifies a unique id for an element, equivalent to the HTML attribute `id`.
|
|
3260
|
+
* @param value The value to assign. Leave `null` to retrieve the attribute's value.
|
|
3261
|
+
* @returns r: Returns the `VElement` object for chaining unless parameter `value` is `null`, then the attribute's value is returned.
|
|
3262
|
+
* @docs
|
|
3263
|
+
*/
|
|
3264
|
+
id(): string;
|
|
3265
|
+
id(value: string): this;
|
|
3266
|
+
is_map(): boolean;
|
|
3267
|
+
is_map(value: boolean): this;
|
|
3268
|
+
kind(): string;
|
|
3269
|
+
kind(value: string): this;
|
|
3270
|
+
label(): string;
|
|
3271
|
+
label(value: string): this;
|
|
3272
|
+
/**
|
|
3273
|
+
* {Lang}
|
|
3274
|
+
* Specifies the language of the element's content, equivalent to the HTML attribute `lang`.
|
|
3275
|
+
* @param value The value to assign. Leave `null` to retrieve the attribute's value.
|
|
3276
|
+
* @returns ription Returns the `VElement` object for chaining unless parameter `value` is `null`, then the attribute's value is returned.
|
|
3277
|
+
* @docs
|
|
3278
|
+
*/
|
|
3279
|
+
lang(): string;
|
|
3280
|
+
lang(value: string): this;
|
|
3281
|
+
/**
|
|
3282
|
+
* {List}
|
|
3283
|
+
* Refers to a \<datalist> element that contains pre-defined options for an \<input> element.
|
|
3284
|
+
* The equivalent of HTML attribute `list`. Returns the attribute value when parameter `value` is `null`.
|
|
3285
|
+
* @param value The value to assign. Leave `null` to retrieve the attribute's value.
|
|
3286
|
+
* @returns r: Returns the `VElement` object. Unless parameter `value` is `null`, then the attribute's value is returned.
|
|
3287
|
+
* @docs
|
|
3288
|
+
*/
|
|
3289
|
+
loop(): boolean;
|
|
3290
|
+
loop(value: boolean): this;
|
|
3291
|
+
low(): string;
|
|
3292
|
+
low(value: string | number): this;
|
|
3293
|
+
max(): string;
|
|
3294
|
+
max(value: string): this;
|
|
3295
|
+
max_length(): null | number;
|
|
3296
|
+
max_length(value: number): this;
|
|
3297
|
+
method(): string;
|
|
3298
|
+
method(value: string): this;
|
|
3299
|
+
min(): string;
|
|
3300
|
+
min(value: string): this;
|
|
3301
|
+
multiple(): boolean;
|
|
3302
|
+
multiple(value: boolean): this;
|
|
3303
|
+
muted(): boolean;
|
|
3304
|
+
muted(value: boolean): this;
|
|
3305
|
+
no_validate(): boolean;
|
|
3306
|
+
no_validate(value: boolean): this;
|
|
3307
|
+
open(): boolean;
|
|
3308
|
+
open(value: boolean): this;
|
|
3309
|
+
optimum(): null | number;
|
|
3310
|
+
optimum(value: number): this;
|
|
3311
|
+
pattern(): string;
|
|
3312
|
+
pattern(value: string): this;
|
|
3313
|
+
placeholder(): string;
|
|
3314
|
+
placeholder(value: string): this;
|
|
3315
|
+
poster(): string;
|
|
3316
|
+
poster(value: string): this;
|
|
3317
|
+
preload(): string;
|
|
3318
|
+
preload(value: string): this;
|
|
3319
|
+
rel(): string;
|
|
3320
|
+
rel(value: string): this;
|
|
3321
|
+
required(): boolean;
|
|
3322
|
+
required(value: boolean): this;
|
|
3323
|
+
reversed(): boolean;
|
|
3324
|
+
reversed(value: boolean): this;
|
|
3325
|
+
rows(): null | number;
|
|
3326
|
+
rows(value: number): this;
|
|
3327
|
+
row_span(): null | number;
|
|
3328
|
+
row_span(value: number): this;
|
|
3329
|
+
sandbox(): string;
|
|
3330
|
+
sandbox(value: string): this;
|
|
3331
|
+
scope(): string;
|
|
3332
|
+
scope(value: string): this;
|
|
3333
|
+
selected(): boolean;
|
|
3334
|
+
selected(value: boolean): this;
|
|
3335
|
+
shape(): string;
|
|
3336
|
+
shape(value: string): this;
|
|
3337
|
+
size(): null | number;
|
|
3338
|
+
size(value: number): this;
|
|
3339
|
+
sizes(): string;
|
|
3340
|
+
sizes(value: string): this;
|
|
3341
|
+
span(): null | number;
|
|
3342
|
+
span(value: number): this;
|
|
3343
|
+
spell_check(): boolean;
|
|
3344
|
+
spell_check(value: boolean): this;
|
|
3345
|
+
/**
|
|
3346
|
+
* {Src}
|
|
3347
|
+
* Specifies the URL of the media file, equivalent to the HTML attribute `src`.
|
|
3348
|
+
* @param value The value to assign. Leave `null` to retrieve the attribute's value.
|
|
3349
|
+
* @returns ription Returns the `VElement` object for chaining unless parameter `value` is `null`, then the attribute's value is returned.
|
|
3350
|
+
* @docs
|
|
3351
|
+
*/
|
|
3352
|
+
src(): string;
|
|
3353
|
+
src(value: string, set_aspect_ratio?: boolean): this;
|
|
3354
|
+
src_doc(): string;
|
|
3355
|
+
src_doc(value: string): this;
|
|
3356
|
+
src_lang(): string;
|
|
3357
|
+
src_lang(value: string): this;
|
|
3358
|
+
rrsrc_set(): string;
|
|
3359
|
+
rrsrc_set(value: string): this;
|
|
3360
|
+
start(): null | number;
|
|
3361
|
+
start(value: number): this;
|
|
3362
|
+
step(): string;
|
|
3363
|
+
step(value: string): this;
|
|
3364
|
+
tab_index(): null | number;
|
|
3365
|
+
tab_index(value: number): this;
|
|
3366
|
+
/**
|
|
3367
|
+
* {Target}
|
|
3368
|
+
* Specifies the target for where to open the linked document or where to submit the form.
|
|
3369
|
+
* The equivalent of HTML attribute `target`. Returns the attribute value when parameter `value` is `null`.
|
|
3370
|
+
* @param value The value to assign. Leave `null` to retrieve the attribute's value.
|
|
3371
|
+
* @returns r: Returns the `VElement` object for chaining unless parameter `value` is `null`, then the attribute's value is returned.
|
|
3372
|
+
* @docs
|
|
3373
|
+
*/
|
|
3374
|
+
target(): string;
|
|
3375
|
+
target(value: string): this;
|
|
3376
|
+
/**
|
|
3377
|
+
* {Title}
|
|
3378
|
+
* Specifies extra information about an element, equivalent to the HTML attribute `title`.
|
|
3379
|
+
* @param value The value to assign. Leave `null` to retrieve the attribute's value.
|
|
3380
|
+
* @returns r: Returns the `VElement` object for chaining unless parameter `value` is `null`, then the attribute's value is returned.
|
|
3381
|
+
* @docs
|
|
3382
|
+
*/
|
|
3383
|
+
title(): string;
|
|
3384
|
+
title(value: string): this;
|
|
3385
|
+
type(): string;
|
|
3386
|
+
type(value: string): this;
|
|
3387
|
+
use_map(): string;
|
|
3388
|
+
use_map(value: string): this;
|
|
3389
|
+
value(): string;
|
|
3390
|
+
value(value: string): this;
|
|
3391
|
+
/**
|
|
3392
|
+
* docs:
|
|
3393
|
+
* @title: On Storage
|
|
3394
|
+
* @desc: Script to be run when a Web Storage area is updated.
|
|
3395
|
+
* The equivalent of HTML attribute `onstorage`.
|
|
3396
|
+
* The first parameter of the callback is the `VElement` object.
|
|
3397
|
+
* @param:
|
|
3398
|
+
* @name: callback
|
|
3399
|
+
* @descr: The function to be executed when storage is updated.
|
|
3400
|
+
* @return:
|
|
3401
|
+
* @description Returns the `VElement` object. Unless parameter `value` is `null`, then the attribute's value is returned.
|
|
3402
|
+
* @funcs: 2
|
|
3403
|
+
*/
|
|
3404
|
+
on_blur(): Function | undefined;
|
|
3405
|
+
on_blur(callback: ElementEvent<this>): this;
|
|
3406
|
+
on_change(): Function | undefined;
|
|
3407
|
+
on_change(callback: ElementEvent<this>): this;
|
|
3408
|
+
on_focus(): Function | undefined;
|
|
3409
|
+
on_focus(callback: ElementEvent<this>): this;
|
|
3410
|
+
on_input(): ElementEvent<this> | undefined;
|
|
3411
|
+
on_input(callback: ElementEvent<this>): this;
|
|
3412
|
+
on_before_input(): Function | undefined;
|
|
3413
|
+
on_before_input(callback: ElementEvent<this>): this;
|
|
3414
|
+
on_invalid(): Function | undefined;
|
|
3415
|
+
on_invalid(callback: ElementEvent<this>): this;
|
|
3416
|
+
on_reset(): Function | undefined;
|
|
3417
|
+
on_reset(callback: ElementEvent<this>): this;
|
|
3418
|
+
on_select(): Function | undefined;
|
|
3419
|
+
on_select(callback: ElementEvent<this>): this;
|
|
3420
|
+
on_submit(): Function | undefined;
|
|
3421
|
+
on_submit(callback: ElementEvent<this>): this;
|
|
3422
|
+
on_key_down(): Function | undefined;
|
|
3423
|
+
on_key_down(callback: ElementKeyboardEvent<this>): this;
|
|
3424
|
+
on_key_press(): Function | undefined;
|
|
3425
|
+
on_key_press(callback: ElementKeyboardEvent<this>): this;
|
|
3426
|
+
on_key_up(): Function | undefined;
|
|
3427
|
+
on_key_up(callback: ElementKeyboardEvent<this>): this;
|
|
3428
|
+
on_dbl_click(): Function | undefined;
|
|
3429
|
+
on_dbl_click(callback: ElementMouseEvent<this>): this;
|
|
3430
|
+
on_mouse_down(): Function | undefined;
|
|
3431
|
+
on_mouse_down(callback: ElementMouseEvent<this>): this;
|
|
3432
|
+
on_mouse_move(): Function | undefined;
|
|
3433
|
+
on_mouse_move(callback: ElementMouseEvent<this>): this;
|
|
3434
|
+
on_mouse_out(): Function | undefined;
|
|
3435
|
+
on_mouse_out(callback: ElementMouseEvent<this>): this;
|
|
3436
|
+
on_mouse_over(): Function | undefined;
|
|
3437
|
+
on_mouse_over(callback: ElementMouseEvent<this>): this;
|
|
3438
|
+
on_mouse_up(): Function | undefined;
|
|
3439
|
+
on_mouse_up(callback: ElementMouseEvent<this>): this;
|
|
3440
|
+
on_wheel(): Function | undefined;
|
|
3441
|
+
on_wheel(callback: (element: this, event: WheelEvent) => any): this;
|
|
3442
|
+
on_drag(): Function | undefined;
|
|
3443
|
+
on_drag(callback: ElementDragEvent<this>): this;
|
|
3444
|
+
on_drag_end(): Function | undefined;
|
|
3445
|
+
on_drag_end(callback: ElementDragEvent<this>): this;
|
|
3446
|
+
on_drag_enter(): Function | undefined;
|
|
3447
|
+
on_drag_enter(callback: ElementDragEvent<this>): this;
|
|
3448
|
+
on_drag_leave(): Function | undefined;
|
|
3449
|
+
on_drag_leave(callback: ElementDragEvent<this>): this;
|
|
3450
|
+
on_drag_over(): Function | undefined;
|
|
3451
|
+
on_drag_over(callback: ElementDragEvent<this>): this;
|
|
3452
|
+
on_drag_start(): Function | undefined;
|
|
3453
|
+
on_drag_start(callback: ElementDragEvent<this>): this;
|
|
3454
|
+
on_drop(): Function | undefined;
|
|
3455
|
+
on_drop(callback: ElementEvent<this>): this;
|
|
3456
|
+
on_copy(): Function | undefined;
|
|
3457
|
+
on_copy(callback: ElementEvent<this>): this;
|
|
3458
|
+
on_cut(): Function | undefined;
|
|
3459
|
+
on_cut(callback: ElementEvent<this>): this;
|
|
3460
|
+
on_paste(): Function | undefined;
|
|
3461
|
+
on_paste(callback: ElementEvent<this>): this;
|
|
3462
|
+
on_abort(): Function | undefined;
|
|
3463
|
+
on_abort(callback: ElementEvent<this>): this;
|
|
3464
|
+
on_canplay(): Function | undefined;
|
|
3465
|
+
on_canplay(callback: ElementEvent<this>): this;
|
|
3466
|
+
on_canplay_through(): Function | undefined;
|
|
3467
|
+
on_canplay_through(callback: ElementEvent<this>): this;
|
|
3468
|
+
on_cue_change(): Function | undefined;
|
|
3469
|
+
on_cue_change(callback: ElementEvent<this>): this;
|
|
3470
|
+
on_duration_change(): Function | undefined;
|
|
3471
|
+
on_duration_change(callback: ElementEvent<this>): this;
|
|
3472
|
+
on_emptied(): Function | undefined;
|
|
3473
|
+
on_emptied(callback: ElementEvent<this>): this;
|
|
3474
|
+
on_ended(): Function | undefined;
|
|
3475
|
+
on_ended(callback: ElementEvent<this>): this;
|
|
3476
|
+
on_error(): Function | undefined;
|
|
3477
|
+
on_error(callback: (element: this, error: string | Event) => any): this;
|
|
3478
|
+
on_loaded_data(): Function | undefined;
|
|
3479
|
+
on_loaded_data(callback: ElementEvent<this>): this;
|
|
3480
|
+
on_loaded_metadata(): Function | undefined;
|
|
3481
|
+
on_loaded_metadata(callback: ElementEvent<this>): this;
|
|
3482
|
+
on_load_start(): Function | undefined;
|
|
3483
|
+
on_load_start(callback: ElementEvent<this>): this;
|
|
3484
|
+
on_pause(): Function | undefined;
|
|
3485
|
+
on_pause(callback: ElementEvent<this>): this;
|
|
3486
|
+
on_play(): Function | undefined;
|
|
3487
|
+
on_play(callback: ElementEvent<this>): this;
|
|
3488
|
+
on_playing(): Function | undefined;
|
|
3489
|
+
on_playing(callback: (element: this, time: any) => any): this;
|
|
3490
|
+
on_progress(): Function | undefined;
|
|
3491
|
+
on_progress(callback: ElementEvent<this>): this;
|
|
3492
|
+
on_rate_change(): Function | undefined;
|
|
3493
|
+
on_rate_change(callback: ElementEvent<this>): this;
|
|
3494
|
+
on_seeked(): Function | undefined;
|
|
3495
|
+
on_seeked(callback: (element: this, time: any) => any): this;
|
|
3496
|
+
on_seeking(): Function | undefined;
|
|
3497
|
+
on_seeking(callback: (element: this, time: any) => any): this;
|
|
3498
|
+
on_stalled(): Function | undefined;
|
|
3499
|
+
on_stalled(callback: ElementEvent<this>): this;
|
|
3500
|
+
on_suspend(): Function | undefined;
|
|
3501
|
+
on_suspend(callback: Function): this;
|
|
3502
|
+
on_time_update(): Function | undefined;
|
|
3503
|
+
on_time_update(callback: ElementEvent<this>): this;
|
|
3504
|
+
on_volume_change(): Function | undefined;
|
|
3505
|
+
on_volume_change(callback: ElementEvent<this>): this;
|
|
3506
|
+
on_waiting(): Function | undefined;
|
|
3507
|
+
on_waiting(callback: (element: this, time: any) => any): this;
|
|
3508
|
+
on_toggle(): Function | undefined;
|
|
3509
|
+
on_toggle(callback: ElementEvent<this>): this;
|
|
3510
|
+
}
|
|
3511
|
+
export declare function isVElement(type: any): type is VElement;
|
|
3512
|
+
export declare function is_velement(type: any): type is VElement;
|
|
3513
|
+
export declare function extend<T extends Record<string, ((this: VElement & ThisType<VElement>, ...args: any[]) => any) | any>>(extension: T): void;
|
|
3514
|
+
export declare function wrapper<T extends new (...args: any[]) => any>(constructor: T): <Extensions extends object = {}>(...args: ConstructorParameters<T>) => InstanceType<T> & Extensions;
|
|
3515
|
+
export declare function create_null<T extends new (...args: any[]) => any>(target_class: T): <Extensions extends object = {}>() => InstanceType<T> & Extensions;
|
|
3516
|
+
export type VElementBaseSignature = {
|
|
3517
|
+
new (...args: any[]): VElement & VElementExtensions;
|
|
3518
|
+
element_tag: string;
|
|
3519
|
+
default_style: Record<string, any>;
|
|
3520
|
+
default_attributes: Record<string, any>;
|
|
3521
|
+
default_events: Record<string, any>;
|
|
3522
|
+
};
|
|
3523
|
+
type VElementBaseSignature2 = VElementBaseSignature;
|
|
3524
|
+
declare const VHTMLElement_base: VElementBaseSignature2;
|
|
3525
|
+
export declare class VHTMLElement extends VHTMLElement_base {
|
|
3526
|
+
static element_name: string;
|
|
3527
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3528
|
+
}
|
|
3529
|
+
export declare const VHTML: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VHTMLElement & Extensions;
|
|
3530
|
+
export declare const NullVHTML: <Extensions extends object = {}>() => VHTMLElement & Extensions;
|
|
3531
|
+
declare module '../ui/any_element.d.ts' {
|
|
3532
|
+
interface AnyElementMap {
|
|
3533
|
+
VHTMLElement: VHTMLElement;
|
|
3534
|
+
}
|
|
3535
|
+
}
|
|
3536
|
+
declare const VAnchorElement_base: VElementBaseSignature2;
|
|
3537
|
+
export declare class VAnchorElement extends VAnchorElement_base {
|
|
3538
|
+
static element_name: string;
|
|
3539
|
+
static element_tag: string;
|
|
3540
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3541
|
+
}
|
|
3542
|
+
export declare const VAnchor: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VAnchorElement & Extensions;
|
|
3543
|
+
export declare const NullVAnchor: <Extensions extends object = {}>() => VAnchorElement & Extensions;
|
|
3544
|
+
declare module '../ui/any_element.d.ts' {
|
|
3545
|
+
interface AnyElementMap {
|
|
3546
|
+
VAnchorElement: VAnchorElement;
|
|
3547
|
+
}
|
|
3548
|
+
}
|
|
3549
|
+
declare const VAreaElement_base: VElementBaseSignature2;
|
|
3550
|
+
export declare class VAreaElement extends VAreaElement_base {
|
|
3551
|
+
static element_name: string;
|
|
3552
|
+
static element_tag: string;
|
|
3553
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3554
|
+
}
|
|
3555
|
+
export declare const VArea: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VAreaElement & Extensions;
|
|
3556
|
+
export declare const NullVArea: <Extensions extends object = {}>() => VAreaElement & Extensions;
|
|
3557
|
+
declare module '../ui/any_element.d.ts' {
|
|
3558
|
+
interface AnyElementMap {
|
|
3559
|
+
VAreaElement: VAreaElement;
|
|
3560
|
+
}
|
|
3561
|
+
}
|
|
3562
|
+
declare const VAudioElement_base: VElementBaseSignature2;
|
|
3563
|
+
export declare class VAudioElement extends VAudioElement_base {
|
|
3564
|
+
static element_name: string;
|
|
3565
|
+
static element_tag: string;
|
|
3566
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3567
|
+
}
|
|
3568
|
+
export declare const VAudio: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VAudioElement & Extensions;
|
|
3569
|
+
export declare const NullVAudio: <Extensions extends object = {}>() => VAudioElement & Extensions;
|
|
3570
|
+
declare module '../ui/any_element.d.ts' {
|
|
3571
|
+
interface AnyElementMap {
|
|
3572
|
+
VAudioElement: VAudioElement;
|
|
3573
|
+
}
|
|
3574
|
+
}
|
|
3575
|
+
declare const VBlockQuoteElement_base: VElementBaseSignature2;
|
|
3576
|
+
export declare class VBlockQuoteElement extends VBlockQuoteElement_base {
|
|
3577
|
+
static element_name: string;
|
|
3578
|
+
static element_tag: string;
|
|
3579
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3580
|
+
}
|
|
3581
|
+
export declare const VBlockQuote: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VBlockQuoteElement & Extensions;
|
|
3582
|
+
export declare const NullVBlockQuote: <Extensions extends object = {}>() => VBlockQuoteElement & Extensions;
|
|
3583
|
+
declare module '../ui/any_element.d.ts' {
|
|
3584
|
+
interface AnyElementMap {
|
|
3585
|
+
VBlockQuoteElement: VBlockQuoteElement;
|
|
3586
|
+
}
|
|
3587
|
+
}
|
|
3588
|
+
declare const VBodyElement_base: VElementBaseSignature2;
|
|
3589
|
+
export declare class VBodyElement extends VBodyElement_base {
|
|
3590
|
+
static element_name: string;
|
|
3591
|
+
static element_tag: string;
|
|
3592
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3593
|
+
}
|
|
3594
|
+
export declare const VBody: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VBodyElement & Extensions;
|
|
3595
|
+
export declare const NullVBody: <Extensions extends object = {}>() => VBodyElement & Extensions;
|
|
3596
|
+
declare module '../ui/any_element.d.ts' {
|
|
3597
|
+
interface AnyElementMap {
|
|
3598
|
+
VBodyElement: VBodyElement;
|
|
3599
|
+
}
|
|
3600
|
+
}
|
|
3601
|
+
declare const VBRElement_base: VElementBaseSignature2;
|
|
3602
|
+
export declare class VBRElement extends VBRElement_base {
|
|
3603
|
+
static element_name: string;
|
|
3604
|
+
static element_tag: string;
|
|
3605
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3606
|
+
}
|
|
3607
|
+
export declare const VBR: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VBRElement & Extensions;
|
|
3608
|
+
export declare const NullVBR: <Extensions extends object = {}>() => VBRElement & Extensions;
|
|
3609
|
+
declare module '../ui/any_element.d.ts' {
|
|
3610
|
+
interface AnyElementMap {
|
|
3611
|
+
VBRElement: VBRElement;
|
|
3612
|
+
}
|
|
3613
|
+
}
|
|
3614
|
+
declare const VButtonElement_base: VElementBaseSignature2;
|
|
3615
|
+
export declare class VButtonElement extends VButtonElement_base {
|
|
3616
|
+
static element_name: string;
|
|
3617
|
+
static element_tag: string;
|
|
3618
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3619
|
+
}
|
|
3620
|
+
export declare const VButton: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VButtonElement & Extensions;
|
|
3621
|
+
export declare const NullVButton: <Extensions extends object = {}>() => VButtonElement & Extensions;
|
|
3622
|
+
declare module '../ui/any_element.d.ts' {
|
|
3623
|
+
interface AnyElementMap {
|
|
3624
|
+
VButtonElement: VButtonElement;
|
|
3625
|
+
}
|
|
3626
|
+
}
|
|
3627
|
+
declare const VCanvasElement_base: VElementBaseSignature2;
|
|
3628
|
+
export declare class VCanvasElement extends VCanvasElement_base {
|
|
3629
|
+
static element_name: string;
|
|
3630
|
+
static element_tag: string;
|
|
3631
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3632
|
+
}
|
|
3633
|
+
export declare const VCanvas: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VCanvasElement & Extensions;
|
|
3634
|
+
export declare const NullVCanvas: <Extensions extends object = {}>() => VCanvasElement & Extensions;
|
|
3635
|
+
declare module '../ui/any_element.d.ts' {
|
|
3636
|
+
interface AnyElementMap {
|
|
3637
|
+
VCanvasElement: VCanvasElement;
|
|
3638
|
+
}
|
|
3639
|
+
}
|
|
3640
|
+
declare const VTableCaptionElement_base: VElementBaseSignature2;
|
|
3641
|
+
export declare class VTableCaptionElement extends VTableCaptionElement_base {
|
|
3642
|
+
static element_name: string;
|
|
3643
|
+
static element_tag: string;
|
|
3644
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3645
|
+
}
|
|
3646
|
+
export declare const VTableCaption: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VTableCaptionElement & Extensions;
|
|
3647
|
+
export declare const NullVTableCaption: <Extensions extends object = {}>() => VTableCaptionElement & Extensions;
|
|
3648
|
+
declare module '../ui/any_element.d.ts' {
|
|
3649
|
+
interface AnyElementMap {
|
|
3650
|
+
VTableCaptionElement: VTableCaptionElement;
|
|
3651
|
+
}
|
|
3652
|
+
}
|
|
3653
|
+
declare const VTableColElement_base: VElementBaseSignature2;
|
|
3654
|
+
export declare class VTableColElement extends VTableColElement_base {
|
|
3655
|
+
static element_name: string;
|
|
3656
|
+
static element_tag: string;
|
|
3657
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3658
|
+
}
|
|
3659
|
+
export declare const VTableCol: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VTableColElement & Extensions;
|
|
3660
|
+
export declare const NullVTableCol: <Extensions extends object = {}>() => VTableColElement & Extensions;
|
|
3661
|
+
declare module '../ui/any_element.d.ts' {
|
|
3662
|
+
interface AnyElementMap {
|
|
3663
|
+
VTableColElement: VTableColElement;
|
|
3664
|
+
}
|
|
3665
|
+
}
|
|
3666
|
+
declare const VDataElement_base: VElementBaseSignature2;
|
|
3667
|
+
export declare class VDataElement extends VDataElement_base {
|
|
3668
|
+
static element_name: string;
|
|
3669
|
+
static element_tag: string;
|
|
3670
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3671
|
+
}
|
|
3672
|
+
export declare const VData: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VDataElement & Extensions;
|
|
3673
|
+
export declare const NullVData: <Extensions extends object = {}>() => VDataElement & Extensions;
|
|
3674
|
+
declare module '../ui/any_element.d.ts' {
|
|
3675
|
+
interface AnyElementMap {
|
|
3676
|
+
VDataElement: VDataElement;
|
|
3677
|
+
}
|
|
3678
|
+
}
|
|
3679
|
+
declare const VDataListElement_base: VElementBaseSignature2;
|
|
3680
|
+
export declare class VDataListElement extends VDataListElement_base {
|
|
3681
|
+
static element_name: string;
|
|
3682
|
+
static element_tag: string;
|
|
3683
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3684
|
+
}
|
|
3685
|
+
export declare const VDataList: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VDataListElement & Extensions;
|
|
3686
|
+
export declare const NullVDataList: <Extensions extends object = {}>() => VDataListElement & Extensions;
|
|
3687
|
+
declare module '../ui/any_element.d.ts' {
|
|
3688
|
+
interface AnyElementMap {
|
|
3689
|
+
VDataListElement: VDataListElement;
|
|
3690
|
+
}
|
|
3691
|
+
}
|
|
3692
|
+
declare const VDListElement_base: VElementBaseSignature2;
|
|
3693
|
+
export declare class VDListElement extends VDListElement_base {
|
|
3694
|
+
static element_name: string;
|
|
3695
|
+
static element_tag: string;
|
|
3696
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3697
|
+
}
|
|
3698
|
+
export declare const VDList: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VDListElement & Extensions;
|
|
3699
|
+
export declare const NullVDList: <Extensions extends object = {}>() => VDListElement & Extensions;
|
|
3700
|
+
declare module '../ui/any_element.d.ts' {
|
|
3701
|
+
interface AnyElementMap {
|
|
3702
|
+
VDListElement: VDListElement;
|
|
3703
|
+
}
|
|
3704
|
+
}
|
|
3705
|
+
declare const VDirectoryElement_base: VElementBaseSignature2;
|
|
3706
|
+
export declare class VDirectoryElement extends VDirectoryElement_base {
|
|
3707
|
+
static element_name: string;
|
|
3708
|
+
static element_tag: string;
|
|
3709
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3710
|
+
}
|
|
3711
|
+
export declare const VDirectory: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VDirectoryElement & Extensions;
|
|
3712
|
+
export declare const NullVDirectory: <Extensions extends object = {}>() => VDirectoryElement & Extensions;
|
|
3713
|
+
declare module '../ui/any_element.d.ts' {
|
|
3714
|
+
interface AnyElementMap {
|
|
3715
|
+
VDirectoryElement: VDirectoryElement;
|
|
3716
|
+
}
|
|
3717
|
+
}
|
|
3718
|
+
declare const VDivElement_base: VElementBaseSignature2;
|
|
3719
|
+
export declare class VDivElement extends VDivElement_base {
|
|
3720
|
+
static element_name: string;
|
|
3721
|
+
static element_tag: string;
|
|
3722
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3723
|
+
}
|
|
3724
|
+
export declare const VDiv: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VDivElement & Extensions;
|
|
3725
|
+
export declare const NullVDiv: <Extensions extends object = {}>() => VDivElement & Extensions;
|
|
3726
|
+
declare module '../ui/any_element.d.ts' {
|
|
3727
|
+
interface AnyElementMap {
|
|
3728
|
+
VDivElement: VDivElement;
|
|
3729
|
+
}
|
|
3730
|
+
}
|
|
3731
|
+
declare const VEmbedElement_base: VElementBaseSignature2;
|
|
3732
|
+
export declare class VEmbedElement extends VEmbedElement_base {
|
|
3733
|
+
static element_name: string;
|
|
3734
|
+
static element_tag: string;
|
|
3735
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3736
|
+
}
|
|
3737
|
+
export declare const VEmbed: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VEmbedElement & Extensions;
|
|
3738
|
+
export declare const NullVEmbed: <Extensions extends object = {}>() => VEmbedElement & Extensions;
|
|
3739
|
+
declare module '../ui/any_element.d.ts' {
|
|
3740
|
+
interface AnyElementMap {
|
|
3741
|
+
VEmbedElement: VEmbedElement;
|
|
3742
|
+
}
|
|
3743
|
+
}
|
|
3744
|
+
declare const VFieldSetElement_base: VElementBaseSignature2;
|
|
3745
|
+
export declare class VFieldSetElement extends VFieldSetElement_base {
|
|
3746
|
+
static element_name: string;
|
|
3747
|
+
static element_tag: string;
|
|
3748
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3749
|
+
}
|
|
3750
|
+
export declare const VFieldSet: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VFieldSetElement & Extensions;
|
|
3751
|
+
export declare const NullVFieldSet: <Extensions extends object = {}>() => VFieldSetElement & Extensions;
|
|
3752
|
+
declare module '../ui/any_element.d.ts' {
|
|
3753
|
+
interface AnyElementMap {
|
|
3754
|
+
VFieldSetElement: VFieldSetElement;
|
|
3755
|
+
}
|
|
3756
|
+
}
|
|
3757
|
+
declare const VFormElement_base: VElementBaseSignature2;
|
|
3758
|
+
export declare class VFormElement extends VFormElement_base {
|
|
3759
|
+
static element_name: string;
|
|
3760
|
+
static element_tag: string;
|
|
3761
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3762
|
+
}
|
|
3763
|
+
export declare const VForm: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VFormElement & Extensions;
|
|
3764
|
+
export declare const NullVForm: <Extensions extends object = {}>() => VFormElement & Extensions;
|
|
3765
|
+
declare module '../ui/any_element.d.ts' {
|
|
3766
|
+
interface AnyElementMap {
|
|
3767
|
+
VFormElement: VFormElement;
|
|
3768
|
+
}
|
|
3769
|
+
}
|
|
3770
|
+
declare const VHeadingElement_base: VElementBaseSignature2;
|
|
3771
|
+
export declare class VHeadingElement extends VHeadingElement_base {
|
|
3772
|
+
static element_name: string;
|
|
3773
|
+
static element_tag: string;
|
|
3774
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3775
|
+
}
|
|
3776
|
+
export declare const VHeading: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VHeadingElement & Extensions;
|
|
3777
|
+
export declare const NullVHeading: <Extensions extends object = {}>() => VHeadingElement & Extensions;
|
|
3778
|
+
declare module '../ui/any_element.d.ts' {
|
|
3779
|
+
interface AnyElementMap {
|
|
3780
|
+
VHeadingElement: VHeadingElement;
|
|
3781
|
+
}
|
|
3782
|
+
}
|
|
3783
|
+
declare const VHeadElement_base: VElementBaseSignature2;
|
|
3784
|
+
export declare class VHeadElement extends VHeadElement_base {
|
|
3785
|
+
static element_name: string;
|
|
3786
|
+
static element_tag: string;
|
|
3787
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3788
|
+
}
|
|
3789
|
+
export declare const VHead: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VHeadElement & Extensions;
|
|
3790
|
+
export declare const NullVHead: <Extensions extends object = {}>() => VHeadElement & Extensions;
|
|
3791
|
+
declare module '../ui/any_element.d.ts' {
|
|
3792
|
+
interface AnyElementMap {
|
|
3793
|
+
VHeadElement: VHeadElement;
|
|
3794
|
+
}
|
|
3795
|
+
}
|
|
3796
|
+
declare const VHRElement_base: VElementBaseSignature2;
|
|
3797
|
+
export declare class VHRElement extends VHRElement_base {
|
|
3798
|
+
static element_name: string;
|
|
3799
|
+
static element_tag: string;
|
|
3800
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3801
|
+
}
|
|
3802
|
+
export declare const VHR: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VHRElement & Extensions;
|
|
3803
|
+
export declare const NullVHR: <Extensions extends object = {}>() => VHRElement & Extensions;
|
|
3804
|
+
declare module '../ui/any_element.d.ts' {
|
|
3805
|
+
interface AnyElementMap {
|
|
3806
|
+
VHRElement: VHRElement;
|
|
3807
|
+
}
|
|
3808
|
+
}
|
|
3809
|
+
declare const VImageElement_base: VElementBaseSignature2;
|
|
3810
|
+
export declare class VImageElement extends VImageElement_base {
|
|
3811
|
+
static element_name: string;
|
|
3812
|
+
static element_tag: string;
|
|
3813
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3814
|
+
}
|
|
3815
|
+
export declare const VImage: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VImageElement & Extensions;
|
|
3816
|
+
export declare const NullVImage: <Extensions extends object = {}>() => VImageElement & Extensions;
|
|
3817
|
+
declare module '../ui/any_element.d.ts' {
|
|
3818
|
+
interface AnyElementMap {
|
|
3819
|
+
VImageElement: VImageElement;
|
|
3820
|
+
}
|
|
3821
|
+
}
|
|
3822
|
+
declare const VInputElement_base: VElementBaseSignature2;
|
|
3823
|
+
export declare class VInputElement extends VInputElement_base {
|
|
3824
|
+
static element_name: string;
|
|
3825
|
+
static element_tag: string;
|
|
3826
|
+
private static value_property;
|
|
3827
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3828
|
+
value(): string;
|
|
3829
|
+
value(value: string): this;
|
|
3830
|
+
}
|
|
3831
|
+
export declare const VInput: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VInputElement & Extensions;
|
|
3832
|
+
export declare const NullVInput: <Extensions extends object = {}>() => VInputElement & Extensions;
|
|
3833
|
+
declare module '../ui/any_element.d.ts' {
|
|
3834
|
+
interface AnyElementMap {
|
|
3835
|
+
VInputElement: VInputElement;
|
|
3836
|
+
}
|
|
3837
|
+
}
|
|
3838
|
+
declare const VTextAreaElement_base: VElementBaseSignature2;
|
|
3839
|
+
export declare class VTextAreaElement extends VTextAreaElement_base {
|
|
3840
|
+
static element_name: string;
|
|
3841
|
+
static element_tag: string;
|
|
3842
|
+
private static value_property;
|
|
3843
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3844
|
+
value(): string;
|
|
3845
|
+
value(value: string): this;
|
|
3846
|
+
}
|
|
3847
|
+
export declare const VTextArea: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VTextAreaElement & Extensions;
|
|
3848
|
+
export declare const NullVTextArea: <Extensions extends object = {}>() => VTextAreaElement & Extensions;
|
|
3849
|
+
declare module '../ui/any_element.d.ts' {
|
|
3850
|
+
interface AnyElementMap {
|
|
3851
|
+
VTextAreaElement: VTextAreaElement;
|
|
3852
|
+
}
|
|
3853
|
+
}
|
|
3854
|
+
declare const VModElement_base: VElementBaseSignature2;
|
|
3855
|
+
export declare class VModElement extends VModElement_base {
|
|
3856
|
+
static element_name: string;
|
|
3857
|
+
static element_tag: string;
|
|
3858
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3859
|
+
}
|
|
3860
|
+
export declare const VMod: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VModElement & Extensions;
|
|
3861
|
+
export declare const NullVMod: <Extensions extends object = {}>() => VModElement & Extensions;
|
|
3862
|
+
declare module '../ui/any_element.d.ts' {
|
|
3863
|
+
interface AnyElementMap {
|
|
3864
|
+
VModElement: VModElement;
|
|
3865
|
+
}
|
|
3866
|
+
}
|
|
3867
|
+
declare const VLabelElement_base: VElementBaseSignature2;
|
|
3868
|
+
export declare class VLabelElement extends VLabelElement_base {
|
|
3869
|
+
static element_name: string;
|
|
3870
|
+
static element_tag: string;
|
|
3871
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3872
|
+
}
|
|
3873
|
+
export declare const VLabel: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VLabelElement & Extensions;
|
|
3874
|
+
export declare const NullVLabel: <Extensions extends object = {}>() => VLabelElement & Extensions;
|
|
3875
|
+
declare module '../ui/any_element.d.ts' {
|
|
3876
|
+
interface AnyElementMap {
|
|
3877
|
+
VLabelElement: VLabelElement;
|
|
3878
|
+
}
|
|
3879
|
+
}
|
|
3880
|
+
declare const VLegendElement_base: VElementBaseSignature2;
|
|
3881
|
+
export declare class VLegendElement extends VLegendElement_base {
|
|
3882
|
+
static element_name: string;
|
|
3883
|
+
static element_tag: string;
|
|
3884
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3885
|
+
}
|
|
3886
|
+
export declare const VLegend: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VLegendElement & Extensions;
|
|
3887
|
+
export declare const NullVLegend: <Extensions extends object = {}>() => VLegendElement & Extensions;
|
|
3888
|
+
declare module '../ui/any_element.d.ts' {
|
|
3889
|
+
interface AnyElementMap {
|
|
3890
|
+
VLegendElement: VLegendElement;
|
|
3891
|
+
}
|
|
3892
|
+
}
|
|
3893
|
+
declare const VLIElement_base: VElementBaseSignature2;
|
|
3894
|
+
export declare class VLIElement extends VLIElement_base {
|
|
3895
|
+
static element_name: string;
|
|
3896
|
+
static element_tag: string;
|
|
3897
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3898
|
+
}
|
|
3899
|
+
export declare const VLI: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VLIElement & Extensions;
|
|
3900
|
+
export declare const NullVLI: <Extensions extends object = {}>() => VLIElement & Extensions;
|
|
3901
|
+
declare module '../ui/any_element.d.ts' {
|
|
3902
|
+
interface AnyElementMap {
|
|
3903
|
+
VLIElement: VLIElement;
|
|
3904
|
+
}
|
|
3905
|
+
}
|
|
3906
|
+
declare const VLinkElement_base: VElementBaseSignature2;
|
|
3907
|
+
export declare class VLinkElement extends VLinkElement_base {
|
|
3908
|
+
static element_name: string;
|
|
3909
|
+
static element_tag: string;
|
|
3910
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3911
|
+
}
|
|
3912
|
+
export declare const VLink: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VLinkElement & Extensions;
|
|
3913
|
+
export declare const NullVLink: <Extensions extends object = {}>() => VLinkElement & Extensions;
|
|
3914
|
+
declare module '../ui/any_element.d.ts' {
|
|
3915
|
+
interface AnyElementMap {
|
|
3916
|
+
VLinkElement: VLinkElement;
|
|
3917
|
+
}
|
|
3918
|
+
}
|
|
3919
|
+
declare const VMapElement_base: VElementBaseSignature2;
|
|
3920
|
+
export declare class VMapElement extends VMapElement_base {
|
|
3921
|
+
static element_name: string;
|
|
3922
|
+
static element_tag: string;
|
|
3923
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3924
|
+
}
|
|
3925
|
+
export declare const VMap: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VMapElement & Extensions;
|
|
3926
|
+
export declare const NullVMap: <Extensions extends object = {}>() => VMapElement & Extensions;
|
|
3927
|
+
declare module '../ui/any_element.d.ts' {
|
|
3928
|
+
interface AnyElementMap {
|
|
3929
|
+
VMapElement: VMapElement;
|
|
3930
|
+
}
|
|
3931
|
+
}
|
|
3932
|
+
declare const VMetaElement_base: VElementBaseSignature2;
|
|
3933
|
+
export declare class VMetaElement extends VMetaElement_base {
|
|
3934
|
+
static element_name: string;
|
|
3935
|
+
static element_tag: string;
|
|
3936
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3937
|
+
}
|
|
3938
|
+
export declare const VMeta: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VMetaElement & Extensions;
|
|
3939
|
+
export declare const NullVMeta: <Extensions extends object = {}>() => VMetaElement & Extensions;
|
|
3940
|
+
declare module '../ui/any_element.d.ts' {
|
|
3941
|
+
interface AnyElementMap {
|
|
3942
|
+
VMetaElement: VMetaElement;
|
|
3943
|
+
}
|
|
3944
|
+
}
|
|
3945
|
+
declare const VMeterElement_base: VElementBaseSignature2;
|
|
3946
|
+
export declare class VMeterElement extends VMeterElement_base {
|
|
3947
|
+
static element_name: string;
|
|
3948
|
+
static element_tag: string;
|
|
3949
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3950
|
+
}
|
|
3951
|
+
export declare const VMeter: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VMeterElement & Extensions;
|
|
3952
|
+
export declare const NullVMeter: <Extensions extends object = {}>() => VMeterElement & Extensions;
|
|
3953
|
+
declare module '../ui/any_element.d.ts' {
|
|
3954
|
+
interface AnyElementMap {
|
|
3955
|
+
VMeterElement: VMeterElement;
|
|
3956
|
+
}
|
|
3957
|
+
}
|
|
3958
|
+
declare const VObjectElement_base: VElementBaseSignature2;
|
|
3959
|
+
export declare class VObjectElement extends VObjectElement_base {
|
|
3960
|
+
static element_name: string;
|
|
3961
|
+
static element_tag: string;
|
|
3962
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3963
|
+
}
|
|
3964
|
+
export declare const VObject: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VObjectElement & Extensions;
|
|
3965
|
+
export declare const NullVObject: <Extensions extends object = {}>() => VObjectElement & Extensions;
|
|
3966
|
+
declare module '../ui/any_element.d.ts' {
|
|
3967
|
+
interface AnyElementMap {
|
|
3968
|
+
VObjectElement: VObjectElement;
|
|
3969
|
+
}
|
|
3970
|
+
}
|
|
3971
|
+
declare const VOListElement_base: VElementBaseSignature2;
|
|
3972
|
+
export declare class VOListElement extends VOListElement_base {
|
|
3973
|
+
static element_name: string;
|
|
3974
|
+
static element_tag: string;
|
|
3975
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3976
|
+
}
|
|
3977
|
+
export declare const VOList: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VOListElement & Extensions;
|
|
3978
|
+
export declare const NullVOList: <Extensions extends object = {}>() => VOListElement & Extensions;
|
|
3979
|
+
declare module '../ui/any_element.d.ts' {
|
|
3980
|
+
interface AnyElementMap {
|
|
3981
|
+
VOListElement: VOListElement;
|
|
3982
|
+
}
|
|
3983
|
+
}
|
|
3984
|
+
declare const VOptGroupElement_base: VElementBaseSignature2;
|
|
3985
|
+
export declare class VOptGroupElement extends VOptGroupElement_base {
|
|
3986
|
+
static element_name: string;
|
|
3987
|
+
static element_tag: string;
|
|
3988
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
3989
|
+
}
|
|
3990
|
+
export declare const VOptGroup: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VOptGroupElement & Extensions;
|
|
3991
|
+
export declare const NullVOptGroup: <Extensions extends object = {}>() => VOptGroupElement & Extensions;
|
|
3992
|
+
declare module '../ui/any_element.d.ts' {
|
|
3993
|
+
interface AnyElementMap {
|
|
3994
|
+
VOptGroupElement: VOptGroupElement;
|
|
3995
|
+
}
|
|
3996
|
+
}
|
|
3997
|
+
declare const VOptionElement_base: VElementBaseSignature2;
|
|
3998
|
+
export declare class VOptionElement extends VOptionElement_base {
|
|
3999
|
+
static element_name: string;
|
|
4000
|
+
static element_tag: string;
|
|
4001
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
4002
|
+
}
|
|
4003
|
+
export declare const VOption: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VOptionElement & Extensions;
|
|
4004
|
+
export declare const NullVOption: <Extensions extends object = {}>() => VOptionElement & Extensions;
|
|
4005
|
+
declare module '../ui/any_element.d.ts' {
|
|
4006
|
+
interface AnyElementMap {
|
|
4007
|
+
VOptionElement: VOptionElement;
|
|
4008
|
+
}
|
|
4009
|
+
}
|
|
4010
|
+
declare const VOutputElement_base: VElementBaseSignature2;
|
|
4011
|
+
export declare class VOutputElement extends VOutputElement_base {
|
|
4012
|
+
static element_name: string;
|
|
4013
|
+
static element_tag: string;
|
|
4014
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
4015
|
+
}
|
|
4016
|
+
export declare const VOutput: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VOutputElement & Extensions;
|
|
4017
|
+
export declare const NullVOutput: <Extensions extends object = {}>() => VOutputElement & Extensions;
|
|
4018
|
+
declare module '../ui/any_element.d.ts' {
|
|
4019
|
+
interface AnyElementMap {
|
|
4020
|
+
VOutputElement: VOutputElement;
|
|
4021
|
+
}
|
|
4022
|
+
}
|
|
4023
|
+
declare const VParagraphElement_base: VElementBaseSignature2;
|
|
4024
|
+
export declare class VParagraphElement extends VParagraphElement_base {
|
|
4025
|
+
static element_name: string;
|
|
4026
|
+
static element_tag: string;
|
|
4027
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
4028
|
+
}
|
|
4029
|
+
export declare const VParagraph: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VParagraphElement & Extensions;
|
|
4030
|
+
export declare const NullVParagraph: <Extensions extends object = {}>() => VParagraphElement & Extensions;
|
|
4031
|
+
declare module '../ui/any_element.d.ts' {
|
|
4032
|
+
interface AnyElementMap {
|
|
4033
|
+
VParagraphElement: VParagraphElement;
|
|
4034
|
+
}
|
|
4035
|
+
}
|
|
4036
|
+
declare const VParamElement_base: VElementBaseSignature2;
|
|
4037
|
+
export declare class VParamElement extends VParamElement_base {
|
|
4038
|
+
static element_name: string;
|
|
4039
|
+
static element_tag: string;
|
|
4040
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
4041
|
+
}
|
|
4042
|
+
export declare const VParam: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VParamElement & Extensions;
|
|
4043
|
+
export declare const NullVParam: <Extensions extends object = {}>() => VParamElement & Extensions;
|
|
4044
|
+
declare module '../ui/any_element.d.ts' {
|
|
4045
|
+
interface AnyElementMap {
|
|
4046
|
+
VParamElement: VParamElement;
|
|
4047
|
+
}
|
|
4048
|
+
}
|
|
4049
|
+
declare const VPictureElement_base: VElementBaseSignature2;
|
|
4050
|
+
export declare class VPictureElement extends VPictureElement_base {
|
|
4051
|
+
static element_name: string;
|
|
4052
|
+
static element_tag: string;
|
|
4053
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
4054
|
+
}
|
|
4055
|
+
export declare const VPicture: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VPictureElement & Extensions;
|
|
4056
|
+
export declare const NullVPicture: <Extensions extends object = {}>() => VPictureElement & Extensions;
|
|
4057
|
+
declare module '../ui/any_element.d.ts' {
|
|
4058
|
+
interface AnyElementMap {
|
|
4059
|
+
VPictureElement: VPictureElement;
|
|
4060
|
+
}
|
|
4061
|
+
}
|
|
4062
|
+
declare const VPreElement_base: VElementBaseSignature2;
|
|
4063
|
+
export declare class VPreElement extends VPreElement_base {
|
|
4064
|
+
static element_name: string;
|
|
4065
|
+
static element_tag: string;
|
|
4066
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
4067
|
+
}
|
|
4068
|
+
export declare const VPre: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VPreElement & Extensions;
|
|
4069
|
+
export declare const NullVPre: <Extensions extends object = {}>() => VPreElement & Extensions;
|
|
4070
|
+
declare module '../ui/any_element.d.ts' {
|
|
4071
|
+
interface AnyElementMap {
|
|
4072
|
+
VPreElement: VPreElement;
|
|
4073
|
+
}
|
|
4074
|
+
}
|
|
4075
|
+
declare const VProgressElement_base: VElementBaseSignature2;
|
|
4076
|
+
export declare class VProgressElement extends VProgressElement_base {
|
|
4077
|
+
static element_name: string;
|
|
4078
|
+
static element_tag: string;
|
|
4079
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
4080
|
+
}
|
|
4081
|
+
export declare const VProgress: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VProgressElement & Extensions;
|
|
4082
|
+
export declare const NullVProgress: <Extensions extends object = {}>() => VProgressElement & Extensions;
|
|
4083
|
+
declare module '../ui/any_element.d.ts' {
|
|
4084
|
+
interface AnyElementMap {
|
|
4085
|
+
VProgressElement: VProgressElement;
|
|
4086
|
+
}
|
|
4087
|
+
}
|
|
4088
|
+
declare const VScriptElement_base: VElementBaseSignature2;
|
|
4089
|
+
export declare class VScriptElement extends VScriptElement_base {
|
|
4090
|
+
static element_name: string;
|
|
4091
|
+
static element_tag: string;
|
|
4092
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
4093
|
+
}
|
|
4094
|
+
export declare const VScript: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VScriptElement & Extensions;
|
|
4095
|
+
export declare const NullVScript: <Extensions extends object = {}>() => VScriptElement & Extensions;
|
|
4096
|
+
declare module '../ui/any_element.d.ts' {
|
|
4097
|
+
interface AnyElementMap {
|
|
4098
|
+
VScriptElement: VScriptElement;
|
|
4099
|
+
}
|
|
4100
|
+
}
|
|
4101
|
+
declare const VSelectElement_base: VElementBaseSignature2;
|
|
4102
|
+
export declare class VSelectElement extends VSelectElement_base {
|
|
4103
|
+
static element_name: string;
|
|
4104
|
+
static element_tag: string;
|
|
4105
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
4106
|
+
}
|
|
4107
|
+
export declare const VSelect: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VSelectElement & Extensions;
|
|
4108
|
+
export declare const NullVSelect: <Extensions extends object = {}>() => VSelectElement & Extensions;
|
|
4109
|
+
declare module '../ui/any_element.d.ts' {
|
|
4110
|
+
interface AnyElementMap {
|
|
4111
|
+
VSelectElement: VSelectElement;
|
|
4112
|
+
}
|
|
4113
|
+
}
|
|
4114
|
+
declare const VSlotElement_base: VElementBaseSignature2;
|
|
4115
|
+
export declare class VSlotElement extends VSlotElement_base {
|
|
4116
|
+
static element_name: string;
|
|
4117
|
+
static element_tag: string;
|
|
4118
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
4119
|
+
}
|
|
4120
|
+
export declare const VSlot: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VSlotElement & Extensions;
|
|
4121
|
+
export declare const NullVSlot: <Extensions extends object = {}>() => VSlotElement & Extensions;
|
|
4122
|
+
declare module '../ui/any_element.d.ts' {
|
|
4123
|
+
interface AnyElementMap {
|
|
4124
|
+
VSlotElement: VSlotElement;
|
|
4125
|
+
}
|
|
4126
|
+
}
|
|
4127
|
+
declare const VSourceElement_base: VElementBaseSignature2;
|
|
4128
|
+
export declare class VSourceElement extends VSourceElement_base {
|
|
4129
|
+
static element_name: string;
|
|
4130
|
+
static element_tag: string;
|
|
4131
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
4132
|
+
}
|
|
4133
|
+
export declare const VSource: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VSourceElement & Extensions;
|
|
4134
|
+
export declare const NullVSource: <Extensions extends object = {}>() => VSourceElement & Extensions;
|
|
4135
|
+
declare module '../ui/any_element.d.ts' {
|
|
4136
|
+
interface AnyElementMap {
|
|
4137
|
+
VSourceElement: VSourceElement;
|
|
4138
|
+
}
|
|
4139
|
+
}
|
|
4140
|
+
declare const VSpanElement_base: VElementBaseSignature2;
|
|
4141
|
+
export declare class VSpanElement extends VSpanElement_base {
|
|
4142
|
+
static element_name: string;
|
|
4143
|
+
static element_tag: string;
|
|
4144
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
4145
|
+
}
|
|
4146
|
+
export declare const VSpan: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VSpanElement & Extensions;
|
|
4147
|
+
export declare const NullVSpan: <Extensions extends object = {}>() => VSpanElement & Extensions;
|
|
4148
|
+
declare module '../ui/any_element.d.ts' {
|
|
4149
|
+
interface AnyElementMap {
|
|
4150
|
+
VSpanElement: VSpanElement;
|
|
4151
|
+
}
|
|
4152
|
+
}
|
|
4153
|
+
declare const VTableElement_base: VElementBaseSignature2;
|
|
4154
|
+
export declare class VTableElement extends VTableElement_base {
|
|
4155
|
+
static element_name: string;
|
|
4156
|
+
static element_tag: string;
|
|
4157
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
4158
|
+
}
|
|
4159
|
+
export declare const VTable: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VTableElement & Extensions;
|
|
4160
|
+
export declare const NullVTable: <Extensions extends object = {}>() => VTableElement & Extensions;
|
|
4161
|
+
declare module '../ui/any_element.d.ts' {
|
|
4162
|
+
interface AnyElementMap {
|
|
4163
|
+
VTableElement: VTableElement;
|
|
4164
|
+
}
|
|
4165
|
+
}
|
|
4166
|
+
declare const VTHeadElement_base: VElementBaseSignature2;
|
|
4167
|
+
export declare class VTHeadElement extends VTHeadElement_base {
|
|
4168
|
+
static element_name: string;
|
|
4169
|
+
static element_tag: string;
|
|
4170
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
4171
|
+
}
|
|
4172
|
+
export declare const VTHead: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VTHeadElement & Extensions;
|
|
4173
|
+
export declare const NullVTHead: <Extensions extends object = {}>() => VTHeadElement & Extensions;
|
|
4174
|
+
declare module '../ui/any_element.d.ts' {
|
|
4175
|
+
interface AnyElementMap {
|
|
4176
|
+
VTHeadElement: VTHeadElement;
|
|
4177
|
+
}
|
|
4178
|
+
}
|
|
4179
|
+
declare const VTBodyElement_base: VElementBaseSignature2;
|
|
4180
|
+
export declare class VTBodyElement extends VTBodyElement_base {
|
|
4181
|
+
static element_name: string;
|
|
4182
|
+
static element_tag: string;
|
|
4183
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
4184
|
+
}
|
|
4185
|
+
export declare const VTBody: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VTBodyElement & Extensions;
|
|
4186
|
+
export declare const NullVTBody: <Extensions extends object = {}>() => VTBodyElement & Extensions;
|
|
4187
|
+
declare module '../ui/any_element.d.ts' {
|
|
4188
|
+
interface AnyElementMap {
|
|
4189
|
+
VTBodyElement: VTBodyElement;
|
|
4190
|
+
}
|
|
4191
|
+
}
|
|
4192
|
+
declare const VTFootElement_base: VElementBaseSignature2;
|
|
4193
|
+
export declare class VTFootElement extends VTFootElement_base {
|
|
4194
|
+
static element_name: string;
|
|
4195
|
+
static element_tag: string;
|
|
4196
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
4197
|
+
}
|
|
4198
|
+
export declare const VTFoot: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VTFootElement & Extensions;
|
|
4199
|
+
export declare const NullVTFoot: <Extensions extends object = {}>() => VTFootElement & Extensions;
|
|
4200
|
+
declare module '../ui/any_element.d.ts' {
|
|
4201
|
+
interface AnyElementMap {
|
|
4202
|
+
VTFootElement: VTFootElement;
|
|
4203
|
+
}
|
|
4204
|
+
}
|
|
4205
|
+
declare const VTHElement_base: VElementBaseSignature2;
|
|
4206
|
+
export declare class VTHElement extends VTHElement_base {
|
|
4207
|
+
static element_name: string;
|
|
4208
|
+
static element_tag: string;
|
|
4209
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
4210
|
+
}
|
|
4211
|
+
export declare const VTH: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VTHElement & Extensions;
|
|
4212
|
+
export declare const NullVTH: <Extensions extends object = {}>() => VTHElement & Extensions;
|
|
4213
|
+
declare module '../ui/any_element.d.ts' {
|
|
4214
|
+
interface AnyElementMap {
|
|
4215
|
+
VTHElement: VTHElement;
|
|
4216
|
+
}
|
|
4217
|
+
}
|
|
4218
|
+
declare const VTDElement_base: VElementBaseSignature2;
|
|
4219
|
+
export declare class VTDElement extends VTDElement_base {
|
|
4220
|
+
static element_name: string;
|
|
4221
|
+
static element_tag: string;
|
|
4222
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
4223
|
+
}
|
|
4224
|
+
export declare const VTD: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VTDElement & Extensions;
|
|
4225
|
+
export declare const NullVTD: <Extensions extends object = {}>() => VTDElement & Extensions;
|
|
4226
|
+
declare module '../ui/any_element.d.ts' {
|
|
4227
|
+
interface AnyElementMap {
|
|
4228
|
+
VTDElement: VTDElement;
|
|
4229
|
+
}
|
|
4230
|
+
}
|
|
4231
|
+
declare const VTemplateElement_base: VElementBaseSignature2;
|
|
4232
|
+
export declare class VTemplateElement extends VTemplateElement_base {
|
|
4233
|
+
static element_name: string;
|
|
4234
|
+
static element_tag: string;
|
|
4235
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
4236
|
+
}
|
|
4237
|
+
export declare const VTemplate: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VTemplateElement & Extensions;
|
|
4238
|
+
export declare const NullVTemplate: <Extensions extends object = {}>() => VTemplateElement & Extensions;
|
|
4239
|
+
declare module '../ui/any_element.d.ts' {
|
|
4240
|
+
interface AnyElementMap {
|
|
4241
|
+
VTemplateElement: VTemplateElement;
|
|
4242
|
+
}
|
|
4243
|
+
}
|
|
4244
|
+
declare const VTimeElement_base: VElementBaseSignature2;
|
|
4245
|
+
export declare class VTimeElement extends VTimeElement_base {
|
|
4246
|
+
static element_name: string;
|
|
4247
|
+
static element_tag: string;
|
|
4248
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
4249
|
+
}
|
|
4250
|
+
export declare const VTime: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VTimeElement & Extensions;
|
|
4251
|
+
export declare const NullVTime: <Extensions extends object = {}>() => VTimeElement & Extensions;
|
|
4252
|
+
declare module '../ui/any_element.d.ts' {
|
|
4253
|
+
interface AnyElementMap {
|
|
4254
|
+
VTimeElement: VTimeElement;
|
|
4255
|
+
}
|
|
4256
|
+
}
|
|
4257
|
+
declare const VTitleElement_base: VElementBaseSignature2;
|
|
4258
|
+
export declare class VTitleElement extends VTitleElement_base {
|
|
4259
|
+
static element_name: string;
|
|
4260
|
+
static element_tag: string;
|
|
4261
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
4262
|
+
}
|
|
4263
|
+
export declare const VTitle: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VTitleElement & Extensions;
|
|
4264
|
+
export declare const NullVTitle: <Extensions extends object = {}>() => VTitleElement & Extensions;
|
|
4265
|
+
declare module '../ui/any_element.d.ts' {
|
|
4266
|
+
interface AnyElementMap {
|
|
4267
|
+
VTitleElement: VTitleElement;
|
|
4268
|
+
}
|
|
4269
|
+
}
|
|
4270
|
+
declare const VTableRowElement_base: VElementBaseSignature2;
|
|
4271
|
+
export declare class VTableRowElement extends VTableRowElement_base {
|
|
4272
|
+
static element_name: string;
|
|
4273
|
+
static element_tag: string;
|
|
4274
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
4275
|
+
}
|
|
4276
|
+
export declare const VTableRow: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VTableRowElement & Extensions;
|
|
4277
|
+
export declare const NullVTableRow: <Extensions extends object = {}>() => VTableRowElement & Extensions;
|
|
4278
|
+
declare module '../ui/any_element.d.ts' {
|
|
4279
|
+
interface AnyElementMap {
|
|
4280
|
+
VTableRowElement: VTableRowElement;
|
|
4281
|
+
}
|
|
4282
|
+
}
|
|
4283
|
+
declare const VTrackElement_base: VElementBaseSignature2;
|
|
4284
|
+
export declare class VTrackElement extends VTrackElement_base {
|
|
4285
|
+
static element_name: string;
|
|
4286
|
+
static element_tag: string;
|
|
4287
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
4288
|
+
}
|
|
4289
|
+
export declare const VTrack: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VTrackElement & Extensions;
|
|
4290
|
+
export declare const NullVTrack: <Extensions extends object = {}>() => VTrackElement & Extensions;
|
|
4291
|
+
declare module '../ui/any_element.d.ts' {
|
|
4292
|
+
interface AnyElementMap {
|
|
4293
|
+
VTrackElement: VTrackElement;
|
|
4294
|
+
}
|
|
4295
|
+
}
|
|
4296
|
+
declare const VUListElement_base: VElementBaseSignature2;
|
|
4297
|
+
export declare class VUListElement extends VUListElement_base {
|
|
4298
|
+
static element_name: string;
|
|
4299
|
+
static element_tag: string;
|
|
4300
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
4301
|
+
}
|
|
4302
|
+
export declare const VUList: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VUListElement & Extensions;
|
|
4303
|
+
export declare const NullVUList: <Extensions extends object = {}>() => VUListElement & Extensions;
|
|
4304
|
+
declare module '../ui/any_element.d.ts' {
|
|
4305
|
+
interface AnyElementMap {
|
|
4306
|
+
VUListElement: VUListElement;
|
|
4307
|
+
}
|
|
4308
|
+
}
|
|
4309
|
+
declare const VIFrameElement_base: VElementBaseSignature2;
|
|
4310
|
+
export declare class VIFrameElement extends VIFrameElement_base {
|
|
4311
|
+
static element_name: string;
|
|
4312
|
+
static element_tag: string;
|
|
4313
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
4314
|
+
}
|
|
4315
|
+
export declare const VIFrame: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VIFrameElement & Extensions;
|
|
4316
|
+
export declare const NullVIFrame: <Extensions extends object = {}>() => VIFrameElement & Extensions;
|
|
4317
|
+
declare module '../ui/any_element.d.ts' {
|
|
4318
|
+
interface AnyElementMap {
|
|
4319
|
+
VIFrameElement: VIFrameElement;
|
|
4320
|
+
}
|
|
4321
|
+
}
|
|
4322
|
+
declare const VCodeElement_base: VElementBaseSignature2;
|
|
4323
|
+
export declare class VCodeElement extends VCodeElement_base {
|
|
4324
|
+
static element_name: string;
|
|
4325
|
+
static element_tag: string;
|
|
4326
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
4327
|
+
}
|
|
4328
|
+
export declare const VCode: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VCodeElement & Extensions;
|
|
4329
|
+
export declare const NullVCode: <Extensions extends object = {}>() => VCodeElement & Extensions;
|
|
4330
|
+
declare module '../ui/any_element.d.ts' {
|
|
4331
|
+
interface AnyElementMap {
|
|
4332
|
+
VCodeElement: VCodeElement;
|
|
4333
|
+
}
|
|
4334
|
+
}
|
|
4335
|
+
declare const VSectionElement_base: VElementBaseSignature2;
|
|
4336
|
+
export declare class VSectionElement extends VSectionElement_base {
|
|
4337
|
+
static element_name: string;
|
|
4338
|
+
static element_tag: string;
|
|
4339
|
+
constructor(args?: DerivedVElementInitOptions);
|
|
4340
|
+
}
|
|
4341
|
+
export declare const VSection: <Extensions extends object = {}>(args?: DerivedVElementInitOptions | undefined) => VSectionElement & Extensions;
|
|
4342
|
+
export declare const NullVSection: <Extensions extends object = {}>() => VSectionElement & Extensions;
|
|
4343
|
+
declare module '../ui/any_element.d.ts' {
|
|
4344
|
+
interface AnyElementMap {
|
|
4345
|
+
VSectionElement: VSectionElement;
|
|
4346
|
+
}
|
|
4347
|
+
}
|
|
4348
|
+
export type VBaseElements = VHTMLElement | VAnchorElement | VAreaElement | VAudioElement | VBlockQuoteElement | VBodyElement | VBRElement | VButtonElement | VCanvasElement | VTableCaptionElement | VTableColElement | VDataElement | VDataListElement | VDListElement | VDirectoryElement | VDivElement | VEmbedElement | VFieldSetElement | VFormElement | VHeadingElement | VHeadElement | VHRElement | VImageElement | VInputElement | VModElement | VLabelElement | VLegendElement | VLIElement | VLinkElement | VMapElement | VMetaElement | VMeterElement | VObjectElement | VOListElement | VOptGroupElement | VOptionElement | VOutputElement | VParagraphElement | VParamElement | VPictureElement | VPreElement | VProgressElement | VScriptElement | VSelectElement | VSlotElement | VSourceElement | VSpanElement | VTableElement | VTHeadElement | VTBodyElement | VTFootElement | VTHElement | VTDElement | VTemplateElement | VTextAreaElement | VTimeElement | VTitleElement | VTableRowElement | VTrackElement | VUListElement | VIFrameElement | VCodeElement | VSectionElement;
|
|
4349
|
+
export declare const VElementTagMap: {
|
|
4350
|
+
readonly _base: typeof VHTMLElement;
|
|
4351
|
+
readonly a: typeof VAnchorElement;
|
|
4352
|
+
readonly area: typeof VAreaElement;
|
|
4353
|
+
readonly audio: typeof VAudioElement;
|
|
4354
|
+
readonly blockquote: typeof VBlockQuoteElement;
|
|
4355
|
+
readonly body: typeof VBodyElement;
|
|
4356
|
+
readonly br: typeof VBRElement;
|
|
4357
|
+
readonly button: typeof VButtonElement;
|
|
4358
|
+
readonly canvas: typeof VCanvasElement;
|
|
4359
|
+
readonly caption: typeof VTableCaptionElement;
|
|
4360
|
+
readonly col: typeof VTableColElement;
|
|
4361
|
+
readonly data: typeof VDataElement;
|
|
4362
|
+
readonly datalist: typeof VDataListElement;
|
|
4363
|
+
readonly dl: typeof VDListElement;
|
|
4364
|
+
readonly dir: typeof VDirectoryElement;
|
|
4365
|
+
readonly div: typeof VDivElement;
|
|
4366
|
+
readonly embed: typeof VEmbedElement;
|
|
4367
|
+
readonly fieldset: typeof VFieldSetElement;
|
|
4368
|
+
readonly form: typeof VFormElement;
|
|
4369
|
+
readonly h1: typeof VHeadingElement;
|
|
4370
|
+
readonly head: typeof VHeadElement;
|
|
4371
|
+
readonly hr: typeof VHRElement;
|
|
4372
|
+
readonly img: typeof VImageElement;
|
|
4373
|
+
readonly input: typeof VInputElement;
|
|
4374
|
+
readonly ins: typeof VModElement;
|
|
4375
|
+
readonly label: typeof VLabelElement;
|
|
4376
|
+
readonly legend: typeof VLegendElement;
|
|
4377
|
+
readonly li: typeof VLIElement;
|
|
4378
|
+
readonly link: typeof VLinkElement;
|
|
4379
|
+
readonly map: typeof VMapElement;
|
|
4380
|
+
readonly meta: typeof VMetaElement;
|
|
4381
|
+
readonly meter: typeof VMeterElement;
|
|
4382
|
+
readonly object: typeof VObjectElement;
|
|
4383
|
+
readonly ol: typeof VOListElement;
|
|
4384
|
+
readonly optgroup: typeof VOptGroupElement;
|
|
4385
|
+
readonly option: typeof VOptionElement;
|
|
4386
|
+
readonly output: typeof VOutputElement;
|
|
4387
|
+
readonly p: typeof VParagraphElement;
|
|
4388
|
+
readonly param: typeof VParamElement;
|
|
4389
|
+
readonly picture: typeof VPictureElement;
|
|
4390
|
+
readonly pre: typeof VPreElement;
|
|
4391
|
+
readonly progress: typeof VProgressElement;
|
|
4392
|
+
readonly script: typeof VScriptElement;
|
|
4393
|
+
readonly select: typeof VSelectElement;
|
|
4394
|
+
readonly slot: typeof VSlotElement;
|
|
4395
|
+
readonly source: typeof VSourceElement;
|
|
4396
|
+
readonly span: typeof VSpanElement;
|
|
4397
|
+
readonly table: typeof VTableElement;
|
|
4398
|
+
readonly thead: typeof VTHeadElement;
|
|
4399
|
+
readonly tbody: typeof VTBodyElement;
|
|
4400
|
+
readonly tfoot: typeof VTFootElement;
|
|
4401
|
+
readonly th: typeof VTHElement;
|
|
4402
|
+
readonly td: typeof VTDElement;
|
|
4403
|
+
readonly template: typeof VTemplateElement;
|
|
4404
|
+
readonly textarea: typeof VTextAreaElement;
|
|
4405
|
+
readonly time: typeof VTimeElement;
|
|
4406
|
+
readonly title: typeof VTitleElement;
|
|
4407
|
+
readonly tr: typeof VTableRowElement;
|
|
4408
|
+
readonly track: typeof VTrackElement;
|
|
4409
|
+
readonly ul: typeof VUListElement;
|
|
4410
|
+
readonly iframe: typeof VIFrameElement;
|
|
4411
|
+
readonly code: typeof VCodeElement;
|
|
4412
|
+
readonly section: typeof VSectionElement;
|
|
4413
|
+
};
|
|
4414
|
+
export {};
|