
Product
Reachability for Ruby Now in Beta
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.
@phila/phila-ui-mobile-nav
Advanced tools
The Mobile Navigation only shows on screens smaller than 768px.
The Mobile Navigation links can be added via props using the Navigation Links format.
<mobile-nav
:links="myMobileNavLink"
/>
Or the links can be added using the default slot. The default slot accepts an unordered list of links.
<mobile-nav>
<ul>
<li>
<a href="/home">Home</a>
</li>
<li>
<a href="/about">About</a>
</li>
</ul>
</mobile-nav>
The mobile navigation links can be nested down two levels.
When using props, use the key submenu to indicate nesting. The submenu key takes an array of Navigation Links.
<mobile-nav
:links="myMobileNavNestedLinks"
/>
myMobileNavNestedLinks: [
{
text: "Parent Link 1",
submenu: [
{
href: "/nested-link-1-1",
text: "Nested Link 1.1"
},
{
href: "/nested-link-1-2",
text: "Nested Link 1.2"
}
]
},
{
text: "Parent Link 2",
submenu: [
{
href: "/nested-link-2-1",
text: "Nested Link 2.1"
},
{
href: "/nested-link-2-2",
text: "Nested Link 2.2"
}
]
}
]
When using slots, simply nest the unordered list.
<mobile-nav>
<ul>
<li>
<a href="#">Parent Link 1</a>
<ul>
<li>
<a href="/nested-link-1-1">Nested Link 1.1</a>
</li>
<li>
<a href="/nested-link-1-2">Nested Link 1.2</a>
</li>
</ul>
</li>
</ul>
</mobile-nav>
FAQs
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
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.

Research
/Security News
Malicious npm packages use Adspect cloaking and fake CAPTCHAs to fingerprint visitors and redirect victims to crypto-themed scam sites.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.