Question

1
Replies
27
Views
liang Member since 2019 10 posts
PEGA
Posted: 4 months ago
Last activity: 3 months 3 weeks ago

how to include 3rdparty javascript libraly or css into control html?

I am trying to customize standard control (datepicker) by using 3rdparty javascript library and css.

how could I import these javascript and css into control html?

I tried in this as below, but it seems not works.

 

  <pega:onlyonce name="AngularMaterialCss">   <pega:static type="style" app="webwb">     <pega:file name="Infragistics_theme.css" />     <pega:file name="Infragistics.css" />

  </pega:static> </pega:onlyonce>

<!-- only include AngularJS once per page --> <pega:onlyonce name="pega_ui_angularjs"> <pega:static type="script" app="webwb">   <pega:file name="pzpega_ui_angularjs_min_172.js" />   <pega:file name="Jquery1113.js" />   <pega:file name="Modernizr283.js" />   <pega:file name="Jqueryuimin.js" />   <pega:file name="Infraqisticscore.js" />    <pega:file name="Infraqisticslob.js" />    </pega:static> </pega:onlyonce>

 

***Edited by Moderator Marissa to update Platform Capability tags****

Pega Platform User Interface
Share this page LinkedIn