私はPrimeUIを初めて使い、PrimeUI QuickStartガイドの手順に従おうとしました。 1つの段落からPrimeUI - どのように動作させるには?
:
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>
が、PrimeUIダウンロードパッケージにはprimeelements-3.0.js
が含まれていません。私はそのファイルを入手することができますか?
例を参照してください。私はPrimeElementsからのコードを使用しようとしました - Webコンポーネントは
<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>
</p-dialog>
を、最終的な効果は私が原因のエラー
primeui.min.js:3 Uncaught TypeError: t(...).zIndex is not a function
at HTMLDocument.<anonymous> (http://localhost/lib/primeui.min.js:3:9501)
at HTMLDocument.dispatch (http://localhost/lib/jquery.js:4732:27)
at HTMLDocument.elemData.handle (http://localhost/lib/jquery.js:4544:28)
にそれを閉じることができるダイアログボックスを開くことはできませんが、ということです私はから他のコード例を試してみましたtheir showcaseしかし、私は仕事の約10%を持っている。
私は何が欠けていますか?
が、私は 'primeelements.js'と' primeelements.min.js'右を参照してくださいジップ。あなたはこれらを見ていませんか? – Twisty