UNPKG

quasar

Version:

Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time

75 lines 1.97 kB
{ "type": "component", "meta": { "docsUrl": "https://v1.quasar.dev/layout/header-and-footer" }, "behavior": { "$listeners": { "desc": "All native events are being propagated (you don't need the '.native' modifier)" } }, "props": { "value": { "type": "Boolean", "desc": "Model of the component defining if it is shown or hidden to the user; Either use this property (along with a listener for 'input' event) OR use v-model directive", "default": true, "examples": [ "v-model=\"headerState\"" ], "category": "model" }, "reveal": { "type": "Boolean", "desc": "Enable 'reveal' mode; Takes into account user scroll to temporarily show/hide header", "category": "behavior" }, "reveal-offset": { "type": "Number", "desc": "Amount of scroll (in pixels) that should trigger a 'reveal' state change", "default": 250, "examples": [ ":reveal-offset=\"500\"" ], "category": "behavior" }, "bordered": { "type": "Boolean", "desc": "Applies a default border to the component", "category": "style" }, "elevated": { "type": "Boolean", "desc": "Adds a default shadow to the header", "category": "style" }, "height-hint": { "type": [ "Number", "String " ], "desc": "When using SSR, you can optionally hint of the height (in pixels) of the QHeader", "default": 50, "examples": [ "150" ], "category": "behavior", "addedIn": "v1.1.0" } }, "slots": { "default": { "desc": "Default slot in the devland unslotted content of the component; Suggestion: QToolbar" } }, "events": { "reveal": { "desc": "Emitted when 'reveal' state gets changed", "params": { "value": { "type": "Boolean", "desc": "New 'reveal' state" } } } } }