Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS Compiler: Return text representation #48

Open
vlapchenko opened this issue Apr 5, 2017 · 2 comments
Open

JS Compiler: Return text representation #48

vlapchenko opened this issue Apr 5, 2017 · 2 comments
Assignees

Comments

@vlapchenko
Copy link
Member

Please, add to JS Compiler an ability to get a text representation of created DOM element object.

@itadapter
Copy link
Member

Why do you need it, example?

@vlapchenko
Copy link
Member Author

In WAVE some functions require html-content as parameter. For example,
showConfirmationDialog(title, content, buttons, callback, options):

WAVE.GUI.showConfirmationDialog(
    'Action confirmation',
    '<div>Are you sure you want to approve this action?</div><br />'+
     '<div class="divWarnIrreversible">The action can't be reversed!</div>", // html-content
            [WAVE.GUI.DLG_YES, WAVE.GUI.DLG_NO],
            function (sender, result) {
              ...
            },
            { btnCls: 'uiSmallButton' });

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

No branches or pull requests

3 participants