1
0
mirror of https://github.com/twirl/The-API-Book.git synced 2025-05-31 22:09:37 +02:00

fresh build

This commit is contained in:
Sergey Konstantinov 2023-10-02 22:27:48 +03:00
parent fb4d34b857
commit 170bcc8f14
8 changed files with 47 additions and 47 deletions

Binary file not shown.

View File

@ -6861,7 +6861,7 @@ api.<span class="hljs-title function_">subscribe</span>(
api.<span class="hljs-property">options</span>.<span class="hljs-title function_">addRule</span>(
<span class="hljs-string">'button.checkout.iconUrl'</span>,
<span class="hljs-function">(<span class="hljs-params">data, options</span>) =></span> data.<span class="hljs-property">iconUrl</span>
)
);
</code></pre>
<p>The most coherent implementation of this approach is the CSS technology.<a href="#ref-chapter-48-no-105" id="ref-chapter-48-no-105-back" class="ref"><sup>1</sup></a> We are not actually proposing using a full CSS rule engine in component libraries (because of its overwhelming complexity and excessiveness for most cases), but we are cautiously drawing the reader's attention to the fact that supporting some subset of CSS-like rules could <em>significantly</em> simplify the task of customizing UI components.</p>
<h4>Calculated Values</h4>

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

BIN
src/cover_embed.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 746 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 470 KiB

After

Width:  |  Height:  |  Size: 4.5 MiB