Module material.buttons

Draws buttons using material theme

Functions

button (content, x, y[, variant[, state[, width]]]) Draws a button


Functions

button (content, x, y[, variant[, state[, width]]])
Draws a button

Parameters:

  • content A string with the text or a table with the following values:
    • icon The icon of the button
    • text The text of the button
  • x The position in x-axis
  • y The position in y-axis
  • variant The state of the button: "elevated", "filled", "filledtonal", "outline", "text" (optional)
  • state The state of the button: "enabled", "disabled", "hovered", "focused", "pressed" (optional)
  • width The width of the button (optional)
generated by LDoc 1.4.6 Last updated 2022-10-22 15:53:51