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

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.add(DateTime.utc_now(), -3600 + x),
      user: "User ##{x}",
      lorem: "lorem ipsum dolor sit almet",
      long_text: lorem()
    }
    end) *

Summary

Functions