Skip to content

Commit

Permalink
Move arguments to data structure
Browse files Browse the repository at this point in the history
  • Loading branch information
markdumay committed Dec 30, 2023
1 parent b6f97f2 commit cfc5fa4
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions content/en/docs/latest/components/tooltip.md
@@ -1,7 +1,7 @@
---
author: Mark Dumay
title: Tooltip
date: 2023-08-27
date: 2023-12-30
description: Use the tooltip shortcode to display a tooltip for a hyperlink.
layout: docs
icon: fa message
Expand All @@ -24,15 +24,7 @@ Use the `tooltip` shortcode to display a tooltip for a hyperlink. Refer to the [

The shortcode supports the following arguments:

{{< table >}}
| Argument | Required | Description |
|-------------|----------|-------------|
| color | No | Optional theme color of the element, either "primary" (default), "secondary", "success", "danger", "warning", "info", "light", or "dark". |
| title | Yes | Title to display in the tooltip. |
| href | Yes | Address for the button or hyperlink. |
| placement | No | How to position the tooltip: "top" (default), "bottom", "left", or "right". |
| class | No | Optional class attribute of the tooltip's button element. |
{{< /table >}}
{{< args structure="tooltip" group="shortcode" >}}

## Examples

Expand Down

0 comments on commit cfc5fa4

Please sign in to comment.