mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +03:00
Add mixin to display help icon with tooltip
This commit is contained in:
parent
fec918ba2c
commit
95307d1e3c
|
@ -47,6 +47,14 @@ mixin api(path)
|
|||
| #[+icon("book", 18).o-icon--inline.u-color-subtle]
|
||||
|
||||
|
||||
//- Help icon with tooltip
|
||||
tooltip - [string] Tooltip text
|
||||
|
||||
mixin help(tooltip)
|
||||
span(data-tooltip=tooltip)&attributes(attributes)
|
||||
+icon("help", 16).i-icon--inline
|
||||
|
||||
|
||||
//- Aside for text
|
||||
label - [string] aside title (optional)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user