View Source MoonWeb.Examples.Design.TableExample.Responsive (Moon v2.89.1)

Responsive design for the table. To see what it's about - just resize the window, or press <F12> to open the console and resize it sizes can be ssen here - https://tailwindcss.com/docs/screens

Properties

  • models *:list, default: Enum.map(1..5, fn x ->
    %{
      id: x,
      name: "Name #{x}",
      created_at: DateTime.utc_now(),
      user: "User ##{x}",
      lorem: "lorem ipsum dolor sit almet",
      long_text: lorem()
    }
    end) *

Summary

Functions