File tree Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -216,7 +216,20 @@ <h2 class="ds-text-heading--4xl ds-u-margin-top--2">Drawer</h2>
216216 [drawerHeading] ="drawerHeading "
217217 (ds-close-click) ="closeDrawer() "
218218 >
219- < strong > An Explanation < ds-usa-flag-icon /> </ strong >
219+ < strong >
220+ An Explanation
221+ < ds-tooltip
222+ class-name ="ds-c-tooltip__trigger-icon ds-u-display--inline "
223+ component ="button "
224+ root-id ="1 "
225+ trigger-aria-label ="An icon of a flag of the United States of America. "
226+ >
227+ < ds-usa-flag-icon />
228+ < div slot ="title ">
229+ < p > Testing a tooltip inside of a <ds-drawer> element.</ p >
230+ </ div >
231+ </ ds-tooltip >
232+ </ strong >
220233 < p >
221234 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
222235 labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
@@ -292,5 +305,19 @@ <h2 class="ds-text-heading--4xl ds-u-margin-top--2">Third Party External Link</h
292305 >
293306 Link to external site
294307 </ app-third-party-external-link >
308+
309+ < h2 class ="ds-text-heading--4xl ds-u-margin-top--2 "> Tooltip</ h2 >
310+ < p class ="ds-u-margin--0 ds-u-display--inline "> Tooltip with icon trigger</ p >
311+ < ds-tooltip
312+ class-name ="ds-c-tooltip__trigger-icon ds-u-display--inline "
313+ component ="button "
314+ root-id ="1 "
315+ trigger-aria-label ="This is the aria label. "
316+ >
317+ < ds-tooltip-icon />
318+ < div slot ="title ">
319+ < p > Tooltip trigger uses <ds-tooltip-icon> for the trigger content</ p >
320+ </ div >
321+ </ ds-tooltip >
295322 </ main >
296323</ div >
You can’t perform that action at this time.
0 commit comments