Skip to content
This repository has been archived by the owner on Aug 31, 2024. It is now read-only.

Commit

Permalink
Added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
klan committed Jan 10, 2017
1 parent f09ea4f commit 85c86c4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion markdown-editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,15 @@
is: 'markdown-editor',

properties: {
/**
* The markdown to be rendered
*/
markdown: {
type: String,
notify: true
},
/**
* Displaying preview of the markdown.
* Displaying a preview of the markdown when true
*/
preview: {
type: Boolean,
Expand Down Expand Up @@ -109,6 +112,9 @@
});
},

/**
* Applies the markdown property to `marked-element`
*/
renderMarkdown: function() {
this.$.marked.markdown = this.markdown;
}
Expand Down

0 comments on commit 85c86c4

Please sign in to comment.