<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[primetek - Medium]]></title>
        <description><![CDATA[PrimeTek is a world renowned vendor of popular UI Component suites including PrimeFaces, PrimeNG, PrimeReact and PrimeVue. - Medium]]></description>
        <link>https://medium.com/primetek?source=rss----7d5f2018912---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>primetek - Medium</title>
            <link>https://medium.com/primetek?source=rss----7d5f2018912---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 12:38:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/primetek" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Vue3 AutoComplete]]></title>
            <link>https://medium.com/primetek/vue3-autocomplete-b3f79efe589b?source=rss----7d5f2018912---4</link>
            <guid isPermaLink="false">https://medium.com/p/b3f79efe589b</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[vuejs]]></category>
            <category><![CDATA[vue]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Cagatay Civici]]></dc:creator>
            <pubDate>Tue, 02 Feb 2021 10:04:13 GMT</pubDate>
            <atom:updated>2021-02-02T10:04:13.711Z</atom:updated>
            <content:encoded><![CDATA[<p>Vue AutoComplete is an input component that provides real-time suggestions when being typed. It supports Vue 3 with <a href="https://primefaces.org/primevue/showcase">PrimeVue 3</a> and Vue 2 with <a href="https://primefaces.org/primevue/showcase-v2">PrimeVue 2</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rC2LHczbHv8AFZqRwCJ5sw.png" /></figure><h4>Setup</h4><p>Refer to PrimeVue <a href="https://primefaces.org/primevue/showcase/#/setup">setup documentation</a> for download and installation steps for your environment such as Vue CLI, Vite or browser.</p><h4>Import</h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d613ca12ed3ff1fcca6719fba9348e85/href">https://medium.com/media/d613ca12ed3ff1fcca6719fba9348e85/href</a></iframe><h4>Getting Started</h4><p>AutoComplete uses <em>v-model</em> for two-way binding, requires a list of suggestions and a complete method to query for the results. The complete method gets the query text as event.query property and should update the suggestions with the search results. Example below connects to a remote datasource to fetch the results;</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/714b8f384e65567c8f93bb869f7524d1/href">https://medium.com/media/714b8f384e65567c8f93bb869f7524d1/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2811d1259cc3935d6ab4eac553d09ca0/href">https://medium.com/media/2811d1259cc3935d6ab4eac553d09ca0/href</a></iframe><h4>Dropdown</h4><p>Enabling dropdown property displays a button next to the input field where click behavior of the button is defined using dropdownMode property that takes “blank” or “current” as possible values. “blank” is the default mode to send a query with an empty string whereas “current” setting sends a query with the current value of the input.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f2ae19a89081ca4fc7094fdd060ba3de/href">https://medium.com/media/f2ae19a89081ca4fc7094fdd060ba3de/href</a></iframe><h4>Multiple Mode</h4><p>Multiple mode is enabled using multiple property to select more than one value from the autocomplete. In this case, value reference should be an array.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d003ecb2b5a599fc818c067fce0a72c6/href">https://medium.com/media/d003ecb2b5a599fc818c067fce0a72c6/href</a></iframe><h4>Objects</h4><p>AutoComplete can also work with objects using the field property that defines the label to display as a suggestion. The value passed to the model would still be the object instance of a suggestion. Here is an example with a Country object that has name and code fields such as <em>{name:”United States”,code:”USA”}</em>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a43ec892a4e7ef06f468862c74459278/href">https://medium.com/media/a43ec892a4e7ef06f468862c74459278/href</a></iframe><h4>Templating</h4><p>Item template allows displaying custom content inside the suggestions panel. The slotProps variable passed to the template provides an item property to represent an item in the suggestions collection.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ca1b9f4aef42e6474ab12da2b7e79d57/href">https://medium.com/media/ca1b9f4aef42e6474ab12da2b7e79d57/href</a></iframe><h4>Theming</h4><p>AutoComplete supports various themes featuring Material, Bootstrap, Fluent as well as your own custom themes via the <a href="https://primefaces.org/primevue/showcase/#/theming">Designer</a> tool.</p><h4>Resources</h4><p>Visit the PrimeVue <a href="https://primefaces.org/primevue/showcase/#/autocomplete">AutoComplete</a> showcase for demos and documentation.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b3f79efe589b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/primetek/vue3-autocomplete-b3f79efe589b">Vue3 AutoComplete</a> was originally published in <a href="https://medium.com/primetek">primetek</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Vue3 Calendar]]></title>
            <link>https://medium.com/primetek/vue3-calendar-2d851c865ad2?source=rss----7d5f2018912---4</link>
            <guid isPermaLink="false">https://medium.com/p/2d851c865ad2</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[vue]]></category>
            <category><![CDATA[vuejs]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Cagatay Civici]]></dc:creator>
            <pubDate>Tue, 02 Feb 2021 09:59:52 GMT</pubDate>
            <atom:updated>2021-02-02T09:59:35.503Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*Uq8HqP1Xnw5-1WbY.png" /></figure><p>Vue Calendar also known as DatePicker is an input component that provides real-time suggestions when being typed. It supports Vue 3 with <a href="https://primefaces.org/primevue/showcase">PrimeVue 3</a> and Vue 2 with <a href="https://primefaces.org/primevue/showcase-v2">PrimeVue 2</a>.</p><h4>Setup</h4><p>Refer to PrimeVue <a href="https://primefaces.org/primevue/showcase/#/setup">setup documentation</a> for download and installation steps for your environment such as Vue CLI, Vite or browser.</p><h4>Import</h4><pre>import Calendar from &#39;primevue/calendar&#39;;</pre><h4>Getting Started</h4><p>Two-way value binding is defined using the standard v-model directive referencing to a Date property.</p><pre>&lt;Calendar v-model=&quot;value&quot; /&gt;</pre><pre>export default {<br>    data() {<br>        return {<br>            value: null<br>        }<br>    }<br>}</pre><h4>Popup and Inline</h4><p>Calendar is displayed in a popup by default and inline property needs to be enabled for inline mode.</p><pre>&lt;Calendar v-model=&quot;value&quot; :inline=&quot;true&quot; /&gt;</pre><h4>Selection Mode</h4><p>By default calendar allows selecting one date only whereas multiple dates can be selected by setting <strong>selectionMode</strong> to multiple. In this case calendar updates the value with an array of dates where optionally number of selectable dates can be restricted with <strong>maxDateCount</strong> property. Third alternative is the range mode that allows selecting a range based on an array of two values where first value is the start date and second value is the end date.</p><pre>&lt;Calendar v-model=&quot;value&quot; selectionMode=&quot;single || multiple || range&quot; /&gt;</pre><h4>DateFormat</h4><p>Default date format is mm/dd/yy, to customize this use <strong>dateFormat</strong> property or define it at <a href="https://primefaces.org/primevue/showcase/#/locale">PrimeVue Locale</a> globally. Note that standalone property overrides the value in locale settings.</p><p>Following options can be a part of the format.</p><ul><li>d — day of month (no leading zero)</li><li>dd — day of month (two digit)</li><li>o — day of the year (no leading zeros)</li><li>oo — day of the year (three digit)</li><li>D — day name short</li><li>DD — day name long</li><li>m — month of year (no leading zero)</li><li>mm — month of year (two digit)</li><li>M — month name short</li><li>MM — month name long</li><li>y — year (two digit)</li><li>yy — year (four digit)</li><li>@ — Unix timestamp (ms since 01/01/1970)</li><li>! — Windows ticks (100ns since 01/01/0001)</li><li>‘…’ — literal text</li><li>‘’ — single quote</li><li>anything else — literal text</li></ul><pre>&lt;Calendar v-model=&quot;value&quot; dateFormat=&quot;dd.mm.yy&quot; /&gt;</pre><h4>Time</h4><p>TimePicker is enabled with <strong>showTime</strong> property and 24 (default) or 12 hour mode is configured using <strong>hourFormat</strong>option. If you need to use the time picker as standalone, use the timeOnly property.</p><pre>&lt;Calendar v-model=&quot;value&quot; :showTime=&quot;true&quot; /&gt;<br>&lt;Calendar v-model=&quot;value&quot; :showTime=&quot;true&quot; hourFormat=&quot;12&quot; /&gt;<br>&lt;Calendar v-model=&quot;value&quot; :showTime=&quot;true&quot; :timeOnly=&quot;true&quot; /&gt;</pre><h4>Date Restriction</h4><p>To disable entering dates manually, set <strong>manualInput</strong> to true and to restrict selectable dates with the <strong>minDate</strong> and <strong>maxDate</strong> options.</p><pre>&lt;Calendar v-model=&quot;value&quot; :minDate=&quot;minDateValue&quot; maxDate=&quot;maxDateValue&quot; /&gt;</pre><p>To disable specific dates or days, restrict selectable dates use <strong>disabledDates</strong> and/or <strong>disabledDays</strong> options.</p><pre>&lt;Calendar v-model=&quot;value&quot; :disabledDates=&quot;invalidDates&quot; :disabledDays=&quot;[0,6]&quot; /&gt;</pre><h4>Button Bar</h4><p>Button bar displays today and clear buttons and enabled using <strong>showButtonBar</strong> property.</p><pre>&lt;Calendar v-model=&quot;value&quot; :showButtonBar=&quot;true&quot; /&gt;</pre><h4>Multiple Months</h4><p>Displaying multiple months is enabled by setting <strong>numberOfMonths</strong> property to a value greater than 1.</p><pre>&lt;Calendar v-model=&quot;value&quot; :numberOfMonths=&quot;3&quot; /&gt;</pre><h4>Locale</h4><p>Locale for different languages and formats is defined globally, refer to the <a href="https://primefaces.org/primevue/showcase/#/locale">PrimeVue Locale</a> configuration for more information.</p><h4>Custom Content</h4><p>Calendar UI accepts custom content using header and footer templates.</p><pre>&lt;Calendar v-model=&quot;value&quot;&gt;<br>    &lt;template #header&gt;Header Content&lt;/template&gt;<br>    &lt;template #footer&gt;Footer Content&lt;/template&gt;<br>&lt;/Calendar&gt;</pre><p>In addition, cell contents can be templated using a template named “date”. This is a handy feature to highlight specific dates. Note that the date property of the slot props passed to the template is not a date instance but a metadata object to represent a Date with “day”, “month” and “year” properties. Example below changes the background color of dates between 10th and 15th of each month.</p><pre>&lt;Calendar v-model=&quot;value&quot;&gt;<br>    &lt;template #date=&quot;slotProps&quot;&gt;<br>        &lt;strong v-if=&quot;slotProps.date.day &gt; 10 &amp;&amp; slotProps.date.day &lt; 15&quot; class=&quot;special-day&quot;&gt;{{slotProps.date.day}}&lt;/strong&gt;<br>        &lt;template v-else&gt;{{slotProps.date.day}}}&lt;/template&gt;<br>    &lt;/template&gt;<br>&lt;/Calendar&gt;</pre><pre>.special-day {<br>    text-decoration: line-through;<br>}</pre><h4>Month Picker</h4><p>Month picker is used to select month and year only without the date, set view mode as “month” to activate month picker.</p><pre>&lt;Calendar v-model=&quot;value&quot; view=&quot;month&quot; dateFormat=&quot;mm/yy&quot; :yearNavigator=&quot;true&quot; yearRange=&quot;2000:2030&quot; /&gt;</pre><h4>Touch UI</h4><p>Touch UI mode displays the calendar overlay at the center of the screen as optimized for touch devices.</p><pre>&lt;Calendar v-model=&quot;value&quot; :touchUI=&quot;true&quot; /&gt;</pre><h4>Theming</h4><p>Calendar supports various themes featuring Material, Bootstrap, Fluent as well as your own custom themes via the <a href="https://primefaces.org/primevue/showcase/#/theming">Designer</a> tool.</p><h4>Resources</h4><p>Visit the PrimeVue <a href="https://primefaces.org/primevue/showcase/#/calendar">Calendar</a> showcase for demos and documentation.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d851c865ad2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/primetek/vue3-calendar-2d851c865ad2">Vue3 Calendar</a> was originally published in <a href="https://medium.com/primetek">primetek</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>