Standard Library by Xon

Standard Library by Xon 1.20.1

No permission to download
yuan First Sergeant
Bronze Member
badge id 43 10 Referrals badge id 62 1,000 Reaction Score badge id 61 500 Reaction Score badge id 60 100 Reaction Score
Nov 14, 2020
718
2,065
$1,143
yuan submitted a new resource:

Standard Library by Xon - A number of helper utilities designed to ease add-on development

A number of helper utilities designed to ease add-on development, does not have any direct user-facing changes.

Uploaded to the resource manager to aid dependency tracking and allow updating without updating every individual add-on

Read more about this resource...
 
thanks to dear member @jessy updated Standard Library by Xon with a new update entry:

1.11.1

  • Remove outdated comment in EarlyJoinFinderTrait
  • Add isPermissionInUse install helper
  • Add SV\StandardLib\Behavior\Cacheable behavior, to help automate calling rebuildCache (or a defined function) on a repository which matches the entity's name
  • Use templater_setup code event to inject various filters/functions into multiple templater types.
    • Adds the extendable class SV\StandardLib\TemplaterHelper to help add filters/functions to templates without manualy extending...

Read the rest of this update entry...
 
thanks to dear member @jessy updated Standard Library by Xon with a new update entry:

1.13.0

  • Add is_toggle_set template function and toggle-storage-ex backend for the XF toggle JS.
    The stock is_toggled does not allow setting the default value, while is_toggle_set does.
  • Example of a default collapsed node-list:
PHP:
<xf:js src="sv/lib/storage.js" addon="SV/StandardLib" min="1" />
<xf:set var="$isActive" value="{{ is_toggle_set($forum.node_id, false, 'node-toggle') ? ' is-active' : '' }}"/>
<div class="block block--collapsible-child-nodes">
    <div...

Read the rest of this update entry...
 
Back
Top