Skip to content

Stopping callback function firing on page load + allowing callback call function by reference#19

Open
robertlyon777 wants to merge 3 commits intoolance:masterfrom
robertlyon777:master
Open

Stopping callback function firing on page load + allowing callback call function by reference#19
robertlyon777 wants to merge 3 commits intoolance:masterfrom
robertlyon777:master

Conversation

@robertlyon777
Copy link

Hi

These are a few changes I needed to make for this excellent plugin - hopefully they are useful for the core project

Cheers

Robert

pageload and allowing the hidden checkbox to be found with screenreaders

Signed-off-by: Robert Lyon <robertl@catalyst.net.nz>
pageload and allowing the hidden checkbox to be found with screenreaders
and one can reference a javascript function with the
on_callback/off_callback options.

Now one can do either
  on_callback: function() { },
or
  on_callback: 'myfunction',

Signed-off-by: Robert Lyon <robertl@catalyst.net.nz>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant