ThisIsDemetrio / yang-furigana

Kind of a shortcut when you have an Angular Application and you need the <ruby> tag but with a easiest syntax
MIT License
1 stars 0 forks source link

Handle ngFuriganaClass attribute to give CSS class to <rp> and <rt> components only #3

Closed ThisIsDemetrio closed 5 years ago

ThisIsDemetrio commented 5 years ago

The main idea is to evaluate the possibility to attribute a class only to the rp and rt class in an HTML structure like this:

<ruby>
  明日
  <rp>(</rp>
  <rt>あした</rt>
  <rp>)</rp>
</ruby>

If possible, create a new attribute, called ngFuriganaClass (or something simillar) to apply a CSS class to that element