Forum Replies Created
solved it using:
const UNSTRESSED_ER = ‘\u025a’ ; // ɚ
const STRESSED_SCHWA = ‘\u028c’ ; // ε
const STRESSED_ER = ‘\u025d’ ; // ɝ
true, but often times it’s very useful to just copy-paste from the documentation right into the code.July 11, 2020 at 4:50 pm in reply to: minor issue (bug?) with "tokenClick" and styled element #100898
elements can indeed be “grouped” which may be good enough (for now).
please disregard this question, i now see where this terrific option is used.
sorry my final question was altered by a filter.
“also, i see references to something like [DASH] [DASH] smart [DASH] editor [DASH] height — are we supposed to be setting the css values prefixed by the double dashes?”
its interesting to note that the following line is required as the first line in order to get htmlelements to work:
< ! DOCTYPE html > (spaces intentionally added to override possible filtering)
some legacy webpages might not include this as the first line.
T-H-A-N-K – Y-O-U ! ! ! ! ! ! ! ! ! ! ! ! ! 😁😀😁😀😁😀
this is fantastic.
maybe something like this?
document.querySelector('smart-accordion').expand(selectedGroup); document.getElementsByTagName("A")[scrollItem].scrollIntoView(false);June 2, 2020 at 4:36 pm in reply to: getting data element from accordion smart-accordion-item #100776
this is exceptionally useful. you might consider adding this in the documentation.
sorry i cannot seem to get it to work properly:
could you please look at my code & let me know what i am doing incorrectly?
i see the word “currently” – i have written to sales to see if there possibly a paid way to make this option available soon. i believe the community will find this feature to be very useful.
hi Hristofor –
i am heeding your note of caution and trying a different approach using opening instead.
notice that somehow HtmlElements knows which previously selected displayed item was clicked since when combobox opens, it will automatically scroll to the previously selected item in the drop-down list:
in other words, open the ComboBox and click on the first four items. then close the combo box, then click on the DISPLAYED items, one at a time, closing the box each time. notice the item clicked upon will be “scrolled” to the top of the list.
is there a hook or a callback somewhere that i can determine which item was clicked upon? i did see a “CustomEvent” item in my regular chrome browser console, and thought maybe the answer is in there, but am not sure where to look, or even how to access this value.
when examining the ‘event‘ item, i am not seeing any difference between clicking the drop-down arrow or the previously selected displayed item.
any suggestions are most appreciated! although i suspect you are going to suggest i wait until this feature is fully supported.