Module select
Select a page element with a visual interface
This module allows you to change the style of hints used to hint elements for
selection in follow
mode, as well as other modes that use the visual hint
overlay.
Fields
select.label_maker
Type: function
Default:
nil
Read-write
Function that describes how to generate labels for hints. In order to modify
the hint label style, set this field to a function that takes one parameter,
a table of chainable hint label style functions, and returns a chained set of
these functions.
Example usage:
local select = require "select" select.label_maker = function (s) return s.sort(s.reverse(s.charset("asdfqwerzxcv"))) end
Attribution
Authors
Copyright
- 2017 Aidan Holm