Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
angular-walkthrough
Advanced tools
This Angular model is inspired in part by ng-walkthrough for AngularJS.
npm install angular-walkthrough
All attributes are optional.
id
: HTML id.focusElementSelector
: CSS selector for focus a HTML element. If the selector detect more that one, the only the first will be chosen.focusHighlightAnimation
: true
for show highlight animation on the focus element. By defaut false
.focusBackdrop
: true
for show a dark backdrop around the focus element. By defaut false
.focusGlow
: true
for show a glow on the focus element. By defaut false
.focusAction
: Add an action click
on the highlight zone.typeSelector
: Type of selection. Two modes possible: element
(one unique HMLT element), zone
(a zone with contains the first and last element). By defaut : element
.radius
: apply a “borderRadius” on highlight zone. If number
the value as change in percent. If auto
use the focused element borderRadius. If it's a simple string
, use it without changes. By defaut, no radius.previousStep
: add a ling to go to the previous ng-walkthrough
.nextStep
: add a ling to go to the next ng-walkthrough
.texts
: change texts. It's a overlay of WalkthroughText
.closeButton
: true
for show the button. By defaut false
.closeAnywhere
: click anywhere to close. By defaut true
.showArrow
: true
for show the arrow. By defaut false
.arrowColor
: change the arrow color. By defaut #FFF
.finishStep
: true
for show a link to exit. By defaut false
.contentTemplate
: add a ng-template
with your description.justifyContent
: align the contentTemplate
. Possible values: left
, center
or right
. By defaut : left
contentStyle
: background style for content container. Possible values: none
, darken
. By defaut : darken
It's possible to change all texts. With the texts
directive attribute.
WalkthroughText {
previous = 'Previous';
next = 'Next';
close = 'Close';
}
Highlighting #selectorId
element with example text in ng-template
.
<ng-walkthrough
id="wt-test"
focusElementSelector="#selectorId"
hasBackdrop="true"
[contentTemplate]="template"
closeButton="true">
<ng-template #template>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit...
</p>
</ng-template>
</ng-walkthrough>
Like Angular, this module is released under the permissive MIT license. Your contributions are always welcome.
FAQs
Walkthrough, an Angular library
The npm package angular-walkthrough receives a total of 87 weekly downloads. As such, angular-walkthrough popularity was classified as not popular.
We found that angular-walkthrough demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.