This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Blank snippet - 6 | |
| description: '' | |
| author: alx-andru | |
| host: EXCEL | |
| api_set: {} | |
| script: | |
| content: | | |
| $("#run").click(() => tryCatch(run)); | |
| async function run() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Selection Changed | |
| description: Add and remove an event handler on the selection changed event | |
| author: alx-andru | |
| host: EXCEL | |
| api_set: {} | |
| script: | |
| content: | | |
| $("#add-event-handler").click(addEventHandler); | |
| $("#remove-last-event-handler").click(removeLastEventHandler); | |
| $("#remove-all-event-handlers").click(removeAllEventHandlers); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Selection Changed | |
| description: Add and remove an event handler on the selection changed event | |
| author: alx-andru | |
| host: EXCEL | |
| api_set: {} | |
| script: | |
| content: | | |
| $("#add-event-handler").click(addEventHandler); | |
| $("#remove-last-event-handler").click(removeLastEventHandler); | |
| $("#remove-all-event-handlers").click(removeAllEventHandlers); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ... | |
| @NgModule({ | |
| declarations: [AppComponent], | |
| imports: [ | |
| BrowserModule, | |
| AppRoutingModule, | |
| StoreModule.forRoot({}), | |
| EffectsModule.forRoot([]), | |
| NgOidcClientModule.forRoot({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>Callback</title> | |
| <link rel="icon" | |
| type="image/x-icon" | |
| href="favicon.png"> | |
| <script src="oidc-client.min.js" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>Renew Callback</title> | |
| <link rel="icon" | |
| type="image/x-icon" | |
| href="favicon.png"> | |
| </head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>Signout Callback</title> | |
| <link rel="icon" | |
| type="image/x-icon" | |
| href="favicon.png"> | |
| <script src="oidc-client.min.js" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ... | |
| "assets": [ | |
| "src/favicon.ico", | |
| "src/assets", | |
| { | |
| "glob": "**/*", | |
| "input": "src/static", | |
| "output": "/" | |
| }, | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ... | |
| export class AppComponent implements OnInit { | |
| title = 'DraftApp'; | |
| identity$: Observable<User>; | |
| constructor(private oidcFacade: OidcFacade) { | |
| this.identity$ = this.oidcFacade.identity$; | |
| } | |
| ngOnInit() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div (click)="signinRedirect()"> | |
| Signin Redirect | |
| </div> | |
| <pre>{{identity$ | async | json}}</pre> | |
| <div (click)="signoutRedirect()"> | |
| Signout | |
| </div> | |
| <router-outlet></router-outlet> |
OlderNewer