|
456 | 456 | ], |
457 | 457 | "description": "The QDate component provides a method to input date. Currently it supports Gregorian (default) and Persian calendars." |
458 | 458 | }, |
| 459 | + "QIcon": { |
| 460 | + "prefix": "qicon", |
| 461 | + "body": [ |
| 462 | + "<q-icon name=\"${1:print}\" />" |
| 463 | + ], |
| 464 | + "description": "The QIcon component allows you to easily insert icons within other components or any other area of your pages." |
| 465 | + }, |
| 466 | + "QImg": { |
| 467 | + "prefix": "qimg", |
| 468 | + "body": [ |
| 469 | + "<q-img", |
| 470 | + "\t:src=\"${1:https://placeimg.com/500/300/nature}\"", |
| 471 | + "\t:ratio=\"${2:16/9}\"", |
| 472 | + "\tspinner-color=\"${3:primary}\"", |
| 473 | + "\tspinner-size=\"${4:82px}\"", |
| 474 | + "/>" |
| 475 | + ], |
| 476 | + "description": "The QImg component makes working with images (any picture format) easy and also adds a nice loading effect to it along with many other features (example: the ability to set an aspect ratio)." |
| 477 | + }, |
| 478 | + "QInfiniteScroll": { |
| 479 | + "prefix": "qinfinitescroll", |
| 480 | + "body": [ |
| 481 | + "<q-infinite-scroll @load=\"onLoad\" :offset=\"250\">", |
| 482 | + "\t<div v-for=\"(item, index) in items\" :key=\"index\" class=\"caption\">", |
| 483 | + "\t\t<p>Lorem ipsum dolor sit amet consectetur adipisicing elit.</p>", |
| 484 | + "\t</div>", |
| 485 | + "\t<template v-slot:loading>", |
| 486 | + "\t\t<div class=\"row justify-center q-my-md\">", |
| 487 | + "\t\t\t<q-spinner-dots color=\"primary\" size=\"40px\" />", |
| 488 | + "\t\t</div>", |
| 489 | + "\t</template>", |
| 490 | + "</q-infinite-scroll>" |
| 491 | + ], |
| 492 | + "description": "The QInfiteScroll component allows you to load new content as the user scrolls the page." |
| 493 | + }, |
| 494 | + "QInnerLoading": { |
| 495 | + "prefix": "qinnerloading", |
| 496 | + "body": [ |
| 497 | + "<q-inner-loading :showing=\"${1:visible}\">", |
| 498 | + "\t<q-spinner-gears size=\"${2:50px}\" color=\"${3:primary}\" />", |
| 499 | + "</q-inner-loading>" |
| 500 | + ], |
| 501 | + "description": "The QInnerLoading component allows you to add a progress animation within a component. Much like the Loading Plugin, it’s purpose is to offer visual confirmation to the user that some process is happening in the background, which takes an excessive amount of time." |
| 502 | + }, |
| 503 | + "QKnob": { |
| 504 | + "prefix": "qknob", |
| 505 | + "body": [ |
| 506 | + "<q-knob", |
| 507 | + "\t:min=\"${1:5}\"", |
| 508 | + "\t:max=\"${2:10}\"", |
| 509 | + "\tv-model=\"${3:value1}\"", |
| 510 | + "\t${4:show-value}", |
| 511 | + "\tsize=\"${5:50px}\"", |
| 512 | + "\t:thickness=\"${6:0.22}\"", |
| 513 | + "\tcolor=\"${7:teal}\"", |
| 514 | + "\ttrack-color=\"${8:grey-3}\"", |
| 515 | + "\tclass=\"${9:q-ma-md}\"", |
| 516 | + "/>" |
| 517 | + ], |
| 518 | + "description": "The QKnob component is used to take a number input from the user through mouse/touch panning. It is based on QCircularProgress and inherits all its properties and behavior." |
| 519 | + }, |
459 | 520 | "QToolbar": { |
460 | 521 | "prefix": "qtoolbar", |
461 | 522 | "body": [ |
|
560 | 621 | ], |
561 | 622 | "description": "A component that offers the user an input field with additional features for searching purposes." |
562 | 623 | }, |
563 | | - "QImg": { |
564 | | - "prefix": "qimg", |
565 | | - "body": [ |
566 | | - "<q-img", |
567 | | - "\t:src=\"${1:https://placeimg.com/500/300/nature}\"", |
568 | | - "\t:ratio=\"${2:16/9}\"", |
569 | | - "\tspinner-color=\"${3:primary}\"", |
570 | | - "\tspinner-size=\"${4:82px}\"", |
571 | | - "/>" |
572 | | - ], |
573 | | - "description": "The QImg component makes working with images (any picture format) easy and also adds a nice loading effect to it along with many other features (example: the ability to set an aspect ratio)." |
574 | | - }, |
575 | 624 | "QRating": { |
576 | 625 | "prefix": "qrating", |
577 | 626 | "body": [ |
578 | 627 | "<q-rating v-model=\"${1:ratingModel}\" :max=\"${2:3}\" />" |
579 | 628 | ], |
580 | 629 | "description": "Quasar Rating is a Component which allows users to rate items, usually known as “Star Rating”." |
581 | 630 | }, |
582 | | - "QKnob": { |
583 | | - "prefix": "qknob", |
584 | | - "body": [ |
585 | | - "<q-knob", |
586 | | - "\tv-model=\"${1:model}\"", |
587 | | - "\t:min=\"${2:min}\"", |
588 | | - "\t:max=\"${3:max}\"", |
589 | | - "\t:placeholder=\"${4:'$ ' + model}\"", |
590 | | - "/>" |
591 | | - ], |
592 | | - "description": "Quasar Knob is another way of making the user select a Number value from a predefined range. With optional steps included." |
593 | | - }, |
594 | 631 | "QUploader": { |
595 | 632 | "prefix": "quploader", |
596 | 633 | "body": [ |
|
801 | 838 | ], |
802 | 839 | "description": "QPopupProxy should be used when you need either a QMenu (on bigger screens) or a QDialog (on smaller screens) to be displayed. It acts as a proxy which picks either of the two components to use. QPopupProxy also handles context-menus." |
803 | 840 | }, |
804 | | - "QInnerLoading": { |
805 | | - "prefix": "qinnerloading", |
806 | | - "body": [ |
807 | | - "<q-inner-loading :visible=\"${1:visible}\">", |
808 | | - "\t<q-spinner-gears size=\"${2:50px}\" color=\"${3:primary}\"></q-spinner-gears>", |
809 | | - "</q-inner-loading>" |
810 | | - ], |
811 | | - "description": "The QInnerLoading component allows you to add a progress animation within a component." |
812 | | - }, |
813 | 841 | "QProgress": { |
814 | 842 | "prefix": "qprogress", |
815 | 843 | "body": [ |
|
855 | 883 | ], |
856 | 884 | "description": "QScrollObservable is a Quasar component that emits a scroll event whenever the user scrolls the page or overflowed container with .scroll CSS class applied to it." |
857 | 885 | }, |
858 | | - "QInfiniteScroll": { |
859 | | - "prefix": "qinfinitescroll", |
860 | | - "body": [ |
861 | | - "<q-infinite-scroll :handler=\"${1:loadMore}\">", |
862 | | - "\t<div v-for=\"${2:item} in ${3:items}\">", |
863 | | - "\t\t$0", |
864 | | - "\t</div>", |
865 | | - "\t<q-spinner-dots slot=\"message\" :size=\"40\"></q-spinner-dots>", |
866 | | - "</q-infinite-scroll>" |
867 | | - ], |
868 | | - "description": "When you want to progressively load new content as the user scrolls down your Page, use QInfiniteScroll component." |
869 | | - }, |
870 | 886 | "QSeparator": { |
871 | 887 | "prefix": "qseparator", |
872 | 888 | "body": [ |
|
0 commit comments