You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The resizable attribute of uip-preview can be hadeled using any of mentioned options (@yadamskaya correct me if you prefer one):
A. Simply remove and do not support on element level
B. Support and use with priority
JS is not necessary required for that option: just use marker value for that property in case it was set via snippet
E.g. <uip-preview resizable> - always resizable, ignores snippet <uip-preview resizable="snippet"> - dynamically set by UIP code from snippet in case resizable was not presented with different value but passed as an option of snippet (will be removed if the next snippet is not resizable)
Note: please make sure in case resizable option was removed the inline size of preview area is flushed (as right now we will have a dynamic behaviour under resizable attribute)
The text was updated successfully, but these errors were encountered:
As a UIP consumer, I want to be able to use both resizable/non-resizable examples in bounds of single UIP instance.
Proposed to add resizable as a feature of snippet
The resizable attribute of
uip-preview
can be hadeled using any of mentioned options (@yadamskaya correct me if you prefer one):JS is not necessary required for that option: just use marker value for that property in case it was set via snippet
E.g.
<uip-preview resizable>
- always resizable, ignores snippet<uip-preview resizable="snippet">
- dynamically set by UIP code from snippet in case resizable was not presented with different value but passed as an option of snippet (will be removed if the next snippet is not resizable)Note: please make sure in case resizable option was removed the inline size of preview area is flushed (as right now we will have a dynamic behaviour under resizable attribute)
The text was updated successfully, but these errors were encountered: