mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-01 00:34:27 +03:00
elaborate on docs
This commit is contained in:
parent
a9af66d754
commit
d21e0c6531
@ -180,10 +180,11 @@ Here's what the fields in the configuration record do:
|
||||
|
||||
- `trigger`: How do you open this tooltip?
|
||||
- `triggerHtml`: What element do you interact with to open the tooltip?
|
||||
- `extraButtonAttrs`: Adds attributes to the trigger button. Useful for things like focus management, like with Accessible Modal
|
||||
- `onTrigger`: What `msg` should I send when the tooltip should open and
|
||||
close? The `Bool` represents the next `isOpen` value.
|
||||
- `isOpen`: Is the tooltip open now? (keep track of this in your model
|
||||
somewhere)
|
||||
- `isOpen`: Is the tooltip open now? (keep track of this in your model somewhere)
|
||||
- `id`: A unique identifier used to associate the trigger with its content
|
||||
|
||||
-}
|
||||
primaryLabel :
|
||||
|
Loading…
Reference in New Issue
Block a user