kirill-grouchnikov / aurora

Building modern, elegant and fast desktop Compose applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Component] More interaction granularity for command button actions

kirill-grouchnikov opened this issue · comments

Same as in Radiance:

  • Auto-repeat action. Enabled with autoRepeatAction boolean, initial delay configured by autoRepeatActionInterval, subsequent delays configured by autoRepeatSubsequentInterval
  • Fire action trigger, configured with actionFireTrigger and the new ActionFireTrigger enum that has three values:
    • OnRollover to fire action on rollover
    • OnPressed to fire action on press
    • OnPressReleased to fire action on press release (the default)