Where to download primeelements-3.0.js?

jQuery UI Widgets
Post Reply
Posts: 8
Joined: 30 Nov 2017, 05:28

05 Mar 2018, 02:05

i am new to PrimeUI.
Can someone guide me where to download this file?
<script type="text/javascript" src="%PATH%/primeelements-3.0.js"></script>

I got <script type="text/javascript" src="%PATH%/x-tag-core.min.js"></script> from the link "X-Tag library" in the QuickStart guide and i added <script type="text/javascript" src="lib/primeui/primeelements.min.js"></script> from the primeui version 4.1.15 which i had bower.
I tried out:
<p-dropdown name="element" filter>
<option value="0">Select a City</option>
<option value="1">Barcelona</option>
<option value="2">Berlin</option>
<option value="3">Istanbul</option>
and had the error message:
Uncaught TypeError: this.xtag.select.puidropdown is not a function
at HTMLElement.created (primeelements.min.js:1)
at HTMLElement.value [as createdCallback] (x-tag-core.min.js:2)

Appreciate any help.
Thank you very much

Posts: 20
Joined: 11 Aug 2018, 11:20

16 Aug 2018, 07:32

In order to use PrimeElements, add X-Tag library that also includes the pollyfill for custom elements.

<script type="text/javascript" src="%PATH%/x-tag-core.min.js"></script>
<script type="text/javascript" src="%PATH%/primeelements-3.0.js"></script>
From where should I download primeelements-3.0.js file when the main PrimeUI package doesn't contain it?

Next - Web Components: PromeElements

I have tried to get some examples to work but I had no luck. For an example

<button type="button" is="p-button" icon="fa-external-link" onclick="document.getElementById('dlgelement').show()" >Show</button>

<p-dialog id="dlgelement" title="Dialog Header" modal showeffect="fade" hideeffect="fade" draggable resizable>
<p>Dialog content here.</p>

Post Reply

Return to “PrimeUI”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest