Advertisement
Fhernd

etc.component.html

Jul 18th, 2024
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.12 KB | None | 0 0
  1. <button [cModalToggle]="fullScreen.id" cButton>Full screen</button>
  2. <button [cModalToggle]="fullScreenSm.id" cButton>Full screen below sm</button>
  3. <button [cModalToggle]="fullScreenMd.id" cButton>Full screen below md</button>
  4. <button [cModalToggle]="fullScreenLg.id" cButton>Full screen below lg</button>
  5. <button [cModalToggle]="fullScreenXl.id" cButton>Full screen below xl</button>
  6. <button [cModalToggle]="fullScreen2Xl.id" cButton>Full screen below xxl</button>
  7.  
  8. <c-modal #fullScreen [fullscreen]="true" id="fullScreen">
  9.   <c-modal-header>
  10.     <h5 cModalTitle>Full screen</h5>
  11.     <button [cModalToggle]="fullScreen.id" cButtonClose></button>
  12.   </c-modal-header>
  13.   <c-modal-body>...</c-modal-body>
  14.   <c-modal-footer>
  15.     <button cButton [cModalToggle]="fullScreen.id">Close</button>
  16.   </c-modal-footer>
  17. </c-modal>
  18.  
  19. <c-modal #fullScreenSm fullscreen="sm" id="fullScreenSm">
  20.   <c-modal-header>
  21.     <h5 cModalTitle>Full screen below sm</h5>
  22.     <button [cModalToggle]="fullScreenSm.id" cButtonClose></button>
  23.   </c-modal-header>
  24.   <c-modal-body>...</c-modal-body>
  25. </c-modal>
  26.  
  27. <c-modal #fullScreenMd fullscreen="md" id="fullScreenMd">
  28.   <c-modal-header>
  29.     <h5 cModalTitle>Full screen below md</h5>
  30.     <button [cModalToggle]="fullScreenMd.id" cButtonClose></button>
  31.   </c-modal-header>
  32.   <c-modal-body>...</c-modal-body>
  33. </c-modal>
  34.  
  35. <c-modal #fullScreenLg fullscreen="lg" id="fullScreenLg">
  36.   <c-modal-header>
  37.     <h5 cModalTitle>Full screen below lg</h5>
  38.     <button [cModalToggle]="fullScreenLg.id" cButtonClose></button>
  39.   </c-modal-header>
  40.   <c-modal-body>...</c-modal-body>
  41. </c-modal>
  42.  
  43. <c-modal #fullScreenXl fullscreen="xl" id="fullScreenXl">
  44.   <c-modal-header>
  45.     <h5 cModalTitle>Full screen below xl</h5>
  46.     <button [cModalToggle]="fullScreenXl.id" cButtonClose></button>
  47.   </c-modal-header>
  48.   <c-modal-body>...</c-modal-body>
  49. </c-modal>
  50.  
  51. <c-modal #fullScreen2Xl fullscreen="xxl" id="fullScreen2Xl">
  52.   <c-modal-header>
  53.     <h5 cModalTitle>Full screen below xxl</h5>
  54.     <button [cModalToggle]="fullScreen2Xl.id" cButtonClose></button>
  55.   </c-modal-header>
  56.   <c-modal-body>...</c-modal-body>
  57. </c-modal>
Tags: angular
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement