pip-webui
Version:
HTML5 UI for LOB applications
71 lines (60 loc) • 3.01 kB
HTML
<h2 class="text-title tm0 bm24">Content Switch {{ 'SAMPLE' |translate }}</h2>
<h3 class="text-subhead2">{{ 'PRESS_BUTTON_FOR_SHOW_HIDE' | translate }}</h3>
<div class="sample-output bm8">
<pip-picture-list-edit class="bm8"
ng-show="showPictures"
pip-picture-ids="item.pictureIds"
pip-created="examplePictures = $event.sender">
</pip-picture-list-edit>
<pip-document-list-edit ng-show="showDocuments"
pip-documents="item.docs"
pip-created="exampleDocs = $event.sender">
</pip-document-list-edit>
<pip-time-edit class="bm16"
ng-show="showEvent"
pip-start-date="item.start"
pip-end-date="item.end"
pip-start-label="{{'Start time'}}"
pip-end-label="{{'End time'}}">
</pip-time-edit>
<pip-location-edit class="bm16 map-edit"
ng-show="showLocation"
pip-location-name="item.loc_name"
pip-location-pos="item.loc_pos">
</pip-location-edit>
</div>
<div class="layout-row layout-align-start-center">
<div>
<pip-content-switch class="flex" pip-parent-element-name="'.sample-output'">
</pip-content-switch>
</div>
</div>
<pre class="text-body1 color-window-bg p16">
<h3 class="text-subhead2 m0">{{:: 'CODE' | translate}}</h3>
<code class="language-markup"><div <strong>class="sample-output"</strong>>
<<strong>pip-picture-list-edit</strong> class="bm8"
<strong>ng-show="showPictures"</strong>
pip-picture-ids="item.pictureIds"
pip-created="examplePictures = $event.sender">
</<strong>pip-picture-list-edit</strong>>
<<strong>pip-document-list-edit ng-show="showDocuments"</strong>
pip-documents="item.docs"
pip-created="exampleDocs = $event.sender">
</<strong>pip-document-list-edit</strong>>
<<strong>pip-time-edit</strong> class="bm16"
<strong>ng-show="showEvent"</strong>
pip-start-date="item.start"
pip-end-date="item.end"
pip-start-label="{{'Start time'}}"
pip-end-label="{{'End time'}}">
</<strong>pip-time-edit</strong>>
<<strong>pip-location-edit</strong> class="bm16 map-edit"
<strong>ng-show="showLocation"</strong>
pip-location-name="item.loc_name"
pip-location-pos="item.loc_pos">
</<strong>pip-location-edit</strong>>
</div>
<<strong>pip-content-switch</strong> flex <strong>pip-parent-element-name="'.sample-output'">
</pip-content-switch</strong>>
</code>
</pre>