{{ description }}
The default styles of this component can be customized using these Sass variables in your project's settings file.
Name | Type | Default Value | Description |
---|---|---|---|
${{this.context.name}} |
{{sassTypes this.type}} | {{sassValue this.context.value}} |
{{md this.description}} |
We use these mixins to build the final CSS output of this component. You can use the mixins yourself to build your own class structure out of our components.
{{#each sass.mixin}}Added in {{this.since.0.version}}
{{/if}} {{#if this.deprecated}}Deprecated in {{this.deprecated}}
{{/if}}{{writeMixin this}}
Parameter | Type | Default Value | Description |
---|---|---|---|
${{this.name}} |
{{sassTypes this.type}} | {{sassValue this.default}} |
{{md this.description}} |
Added in {{this.since.0.version}}
{{/if}} {{#if this.deprecated}}Deprecated in {{this.deprecated.version}}
{{/if}}{{writeFunction this}}
Parameter | Type | Default Value | Description |
---|---|---|---|
${{this.name}} |
{{sassTypes this.type}} | {{sassValue this.default}} |
{{md this.description}} |
var elem = new Foundation.{{this.name}}(element, options);
Fires these events: {{#each this.fires}} {{this}} {{/each}}
{{/if}} {{#if this.params}}Name | Type | Description |
---|---|---|
{{this.name}} |
{{this.type.names.[0]}} | {{this.description}} |
Use these options to customize an instance of {{title}}. Plugin options can be set as individual data attributes, one combined data-options
attribute, or as an object passed to the plugin's constructor. Learn more about how JavaScript plugins are initialized.
Name | Description | Example |
---|---|---|
{{this.name}} | {{this.description}} | Sample! |
These events will fire from any element with a {{title}} plugin attached.
Name | Description |
---|---|
{{this.name}}.zf.{{../title}} | {{this.description}} |
Fires these events: {{#each this.fires}} {{this}} {{/each}}
{{/if}} {{#if this.params}}Name | Type | Description |
---|---|---|
{{this.name}} |
{{this.type.names.[0]}} | {{this.description}} |
Building Blocks is a ZURB-curated resource with useful code snippets that use Foundation components. Here are a few for this component: