office-ui-fabric-react#getId TypeScript Examples
The following examples show how to use
office-ui-fabric-react#getId.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: BasicInfo.tsx From AIPerf with MIT License | 5 votes |
// Use getId() to ensure that the ID is unique on the page.
// (It's also okay to use a plain string without getId() and manually ensure uniqueness.)
// for tooltip user the log directory
private _hostId: string = getId('tooltipHost');
Example #2
Source File: Progress.tsx From AIPerf with MIT License | 5 votes |
private labelId: string = getId('callout-label');
Example #3
Source File: Progress.tsx From AIPerf with MIT License | 5 votes |
private descriptionId: string = getId('callout-description');