Abhinav Sood created ZEPPELIN-1772:
--------------------------------------

             Summary: Method to get current paragraph's ID in the paragraph
                 Key: ZEPPELIN-1772
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1772
             Project: Zeppelin
          Issue Type: New Feature
          Components: front-end, GUI, rest-api, zeppelin-interpreter
            Reporter: Abhinav Sood


Provide a method like `getParagraphId()` to get the ID for the paragraph from 
which the method is called.

One of the use cases is having a paragraph that has a function that accepts 
input and generates the code to put D3.js visualizations in a DIV. It also 
accepts a paragraph ID as the input.

The function can be called from other paragraphs, and the D3js plot must be put 
into the DIV for that paragraph. With the `getParagraphId()` we can generate 
DIVs with IDs unique to the paragraph and not affect other paragraphs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to