-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/11.x.x' into action-hub-harness
* origin/11.x.x: ci: update `@skyux/dev-infra-private` to `10.0.0-alpha.20` (#2982) build: apply `@skyux/dev-infra-private@10.0.0-alpha.19` (#2978) feat(components/layout): remove extra space from view actions (#2974) fix: update `@skyux/dev-infra-private` to `10.0.0-alpha.18` to address issues with documentation generation (#2971) ci: update cherry pick to 11 (#2966) docs: mock `SkyHelpService` in code-examples spa (#2960)
- Loading branch information
Showing
9 changed files
with
57 additions
and
26 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
25 changes: 25 additions & 0 deletions
25
apps/code-examples/src/app/shared/help-service/help-service.ts
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { Injectable } from '@angular/core'; | ||
import { | ||
SkyHelpOpenArgs, | ||
SkyHelpService, | ||
SkyHelpUpdateArgs, | ||
} from '@skyux/core'; | ||
|
||
@Injectable() | ||
export class CodeExamplesHelpService extends SkyHelpService { | ||
public override openHelp(args?: SkyHelpOpenArgs): void { | ||
if (args) { | ||
console.log('help key: ' + args.helpKey); | ||
} | ||
} | ||
|
||
public override updateHelp(args: SkyHelpUpdateArgs): void { | ||
if ('helpKey' in args) { | ||
console.log('help key update: ' + args.helpKey); | ||
} | ||
|
||
if ('pageDefaultHelpKey' in args) { | ||
console.log('page default help key update: ' + args.pageDefaultHelpKey); | ||
} | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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