@fortawesome/free-solid-svg-icons APIs
- faTimes
- faCheck
- faTrash
- faCog
- faInfoCircle
- faPlus
- faSearch
- faSpinner
- faArrowLeft
- faCopy
- faChevronDown
- faExclamationTriangle
- faUser
- faEdit
- faBars
- faHome
- faCheckCircle
- faExclamationCircle
- faQuestionCircle
- faPlay
- faTrashAlt
- faArrowRight
- faChevronRight
- faChevronUp
- fas
- faEye
- faSignOutAlt
- faLink
- faPen
- faSync
- faEyeSlash
- faStar
- faChevronLeft
- faLock
- faDownload
- faCaretDown
- faClock
- IconDefinition
- faEllipsisV
- faHeart
- faCode
- faAngleDown
- faTimesCircle
- faGlobe
- faFilter
- faSave
- faBell
- faList
- faSortDown
- faSortUp
- faUsers
- faArrowDown
- faArrowUp
- faPause
- faUndo
- faMoon
- faWindowMaximize
- faSyncAlt
- faExternalLinkAlt
- faAngleUp
- faAngleLeft
- faUpload
- faClipboard
- faBook
- faComments
- faSquare
- faCheckDouble
- faPlusCircle
- faComment
- faRandom
- faStop
- faFolderPlus
- faCamera
- faBan
- faEnvelope
- faGavel
- faPalette
- faPlane
- faTasks
- faPencilAlt
- faExchangeAlt
- faMapMarkerAlt
- faAngleRight
- faSun
- faMicrophone
- faMicrophoneSlash
- faVideo
- faVideoSlash
- faFile
- faLanguage
- faCogs
- faUserEdit
- faUserPlus
- faMinus
- faFolderOpen
- faCircleNotch
- faUserAlt
- faCodeBranch
- faCube
- faLaptopCode
- faMap
- faChartArea
- faHistory
- faShare
- faCloudDownloadAlt
- faFileUpload
- faCalendarAlt
- faLightbulb
- faPaperPlane
- faPaintBrush
- faExclamation
- faAnchor
- faBomb
- faMusic
- faCompress
- faExpand
- faRegistered
- faWifi
- faDrawPolygon
- faPhone
- faCommentDots
- faVolumeUp
- faCaretUp
- faBug
- faUserCircle
- faWallet
- faFileContract
- faTag
- faSearchPlus
- faSort
- faKey
- faVolumeMute
- faPowerOff
- faBolt
- faRedoAlt
- faSortAmountDown
- faCloudUploadAlt
- faShapes
- faSortAmountUp
- faTools
- faFileCode
- faRedo
- faAlignLeft
- faUserFriends
- faBookOpen
- faChartBar
- faFileExport
- faFileImport
- faSadCry
- faRocket
- faLinkSlash
- faTh
- faLongArrowAltRight
- faTags
- faDog
- faTv
- faCartPlus
- faMicrochip
- faNetworkWired
- faCommentSlash
- faAddressBook
- faCalendar
- faToggleOff
- faToggleOn
- faUserClock
- faHourglass
- faQuestion
- faStamp
- faAddressCard
- faPoo
- faAppleAlt
- faBible
- faBone
- faCar
- faCat
- faChess
- faSkull
- faFeatherAlt
- faFire
- faWindowMinimize
- faReplyAll
- faSignInAlt
- faBold
- faItalic
- faUnderline
- faHeading
- faQuoteRight
- faListOl
- faListUl
- faLevelDownAlt
- faLevelUpAlt
- faUndoAlt
- faPlug
- faBullhorn
- faPlaneDeparture
- faSimCard
- faBrush
- faAngleDoubleDown
- faCoins
- faCompressArrowsAlt
- faDiceD6
- faNewspaper
- faMinimize
- faUpRightFromSquare
- faCubes
- faRetweet
- faHandPeace
- faSpaceShuttle
- faXmark
- faFileAudio
- faStopwatch
- faDragon
- faSortNumericDown
- faSortNumericDownAlt
- faArrowUpRightFromSquare
- faArrowDown19
- faArrowDown91
- faHashtag
- faRepeat
- faLaptop
- faCloud
- faPiggyBank
- faRunning
- faBiking
- faBicycle
- faShareAlt
- faRuler
- faVial
- faUserTimes
- faUserMinus
- faCalendarDay
- faStepBackward
- faStepForward
- faDotCircle
- faUserLock
- faUserCog
- faTrophy
- faShareSquare
- faHandPointRight
- faChartLine
- faUserShield
- faCheckSquare
- faSortAmountDownAlt
- faIdCard
- faUserSlash
- faCalculator
- faEllipsisH
- faRulerCombined
- faSoap
- faMousePointer
- faHandRock
- faDroplet
- faThumbtack
- faReply
- faLayerGroup
- faMask
- faWindowRestore
- faThLarge
- faDesktop
- faInfo
- faHandsHelping
- faKeyboard
- faChartPie
- faColumns
- faTable
- faTachometerAlt
- faClipboardList
- faHammer
- faLockOpen
- faCity
- faChessRook
- faMountain
- faCampground
- faUniversity
- faCrosshairs
- faWrench
- faArrowCircleLeft
- faIdCardAlt
- faCreditCard
- faDollarSign
- faIdBadge
- faSlidersH
- faEuroSign
- faPoundSign
- faSearchDollar
- faPlayCircle
- faStream
- faFilm
- faSmile
- faPhoneAlt
- faArrowsAltV
- faUserAltSlash
- faLongArrowAltLeft
- faHdd
- faUnlink
- faInbox
- faMagic
- faImage
- faCalendarCheck
- faUserCheck
- faFolder
- faThermometerEmpty
- faCut
- faPaste
- faCircle
- faMobile
- faClipboardCheck
- faSortAlphaUp
- faSortAlphaDown
- faRss
- faPaw
Other Related APIs
- react#useState
- react-router-dom#useHistory
- @angular/core#NgModule
- @angular/core#Optional
- @angular/core#SkipSelf
- @angular/core#ErrorHandler
- @angular/forms#FormsModule
- @angular/common/http#HttpClientModule
- @angular/common/http#HttpClient
- @angular/common/http#HTTP_INTERCEPTORS
- @angular/common#CommonModule
- @angular/material/button#MatButtonModule
- @angular/material/icon#MatIconModule
- @fortawesome/free-solid-svg-icons#faSignOutAlt
- @angular/material/select#MatSelectModule
- @angular/material/toolbar#MatToolbarModule
- @angular/material/tooltip#MatTooltipModule
- @angular/material/menu#MatMenuModule
- @angular/material/sidenav#MatSidenavModule
- @angular/material/list#MatListModule
- @angular/material/snack-bar#MatSnackBarModule
@fortawesome/free-solid-svg-icons#faPowerOff TypeScript Examples
The following examples show how to use
@fortawesome/free-solid-svg-icons#faPowerOff.
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: core.module.ts From enterprise-ng-2020-workshop with MIT License | 6 votes |
constructor(
@Optional()
@SkipSelf()
parentModule: CoreModule,
faIconLibrary: FaIconLibrary
) {
if (parentModule) {
throw new Error('CoreModule is already loaded. Import only in AppModule');
}
faIconLibrary.addIcons(
faCog,
faBars,
faRocket,
faPowerOff,
faUserCircle,
faPlayCircle,
faGithub,
faMediumM,
faTwitter,
faInstagram,
faYoutube
);
}
Example #2
Source File: EndMeetingControl.tsx From amazon-chime-sdk-smart-video-sending-demo with Apache License 2.0 | 5 votes |
EndMeetingControl: React.FC = () => {
const meetingManager = useMeetingManager();
const history = useHistory();
const [showEndModal, setShowEndModal] = useState(false);
const { updateMeetingStatus } = useMeetingStatus();
const messagingService = useVideoSendingService();
const toggleEndMeeting = (): void => {
setShowEndModal(!showEndModal);
}
const closeWS = () => {
try {
messagingService?.websocket?.close(DEFAULT_WEB_SOCKET_TIMEOUT_MS);
console.log('Closing web socket');
} catch (error) {
console.error(`Unable to send close message on messaging socket: ${error}`);
}
}
const endMeeting = async (): Promise<void> => {
await meetingManager?.endMeeting();
updateMeetingStatus(MeetingStatus.Ended);
closeWS();
history.push(routes.HOME);
}
const leaveMeeting = async (): Promise<void> => {
await meetingManager?.leaveMeeting();
closeWS();
history.push(routes.HOME);
}
return (
<>
<ButtonGroup>
<IconButton icon={faSignOutAlt} onClick={leaveMeeting} />
<IconButton icon={faPowerOff} onClick={toggleEndMeeting} />
</ButtonGroup>
{showEndModal && (
<Modal size="medium" onClose={toggleEndMeeting} rootId="modal-root">
<ModalHeader title="End Meeting" />
<ModalBody>
<StyledP>
Are you sure you want to end the meeting for everyone? The meeting
cannot be used after ending it.
</StyledP>
</ModalBody>
<ModalButtonGroup
primaryButtons={[
<ModalButton
onClick={endMeeting}
variant="primary"
label="End meeting for all"
closesModal
/>,
<ModalButton variant="secondary" label="Cancel" closesModal />
]}
/>
</Modal>
)}
</>
);
}