Clarify button message vs messageTop

Clarify button message vs messageTop

craighcraigh Posts: 10Questions: 4Answers: 0

In the pdf button docs, it says that the message option is deprecated in favor of messageTop. (although there is a minor formatting problem in the docs there).

In the print button docs, there is no such obvious deprecation.

Could you please clarify if all use of the message option is deprecated or not? If so, consider updating the documentation to indicate the same. If not, please clarify which takes precedence over the other. My tests indicate that message takes precedence over messageTop (which seems counter-intuitive if message is deprecated).

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 64,940Questions: 1Answers: 10,755 Site admin
    Answer ✓

    Hi,

    Thanks for posting this. I've committed this fix to the docs for the print button to say the same thing for message and fix that formatting error.

    You are right that message is currently used over messageTop if both are provided. I didn't expect them both to ever be used.

    message is basically an alias of messageTop. I doubt I'll actually remove that alias - it isn't worth breaking backwards compatibility for 9 bytes.

    Allan

Sign In or Register to comment.